2024-10-01 12:38:18
按照题目要求编写的计算方程的值的C语言程序如下
#include<
int main(){
double x=5,y;
y=5*x*x+4*x-6;
printf("%lf\n",y);
return 0;
}
2024-10-01 14:05:33
#include <stdio.h>
int main()
{
double x,y;
scanf("%lf",&x);
y=5*x*x+4*x-6;
printf("%lf\n",y);
return 0;
}