当前位置: > C程序编写 求ax²+bx+c=0方程的根 设b²-4ac>0...
题目
C程序编写 求ax²+bx+c=0方程的根 设b²-4ac>0

提问时间:2020-08-13

答案
/*输入参数a,b,c,使用空格隔开*/
#include
#include
#include
int main()
{
int a,b,c;
float x1,x2;
printf("Input a,b,c: ");
scanf("%d %d %d",&a,&b,&c);
printf("%dx^2+%dx+%d=0 ",a,b,c);
if(b*b-4*a*c
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
版权所有 CopyRight © 2012-2019 超级试练试题库 All Rights Reserved.