C语言求方程的实数解#include#includevoid main(){float a,b,c,k,x,y;printf("input a,b,c:");scanf("%f,%f,%f",&a,&b,&c);k=b*b-4*a*c;if(fabs(a)
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/16 11:55:53
C语言求方程的实数解#include#includevoidmain(){floata,b,c,k,x,y;printf("inputa,b,c:");scanf("%f,%f,%f",&a,&b,&
C语言求方程的实数解#include#includevoid main(){float a,b,c,k,x,y;printf("input a,b,c:");scanf("%f,%f,%f",&a,&b,&c);k=b*b-4*a*c;if(fabs(a)
C语言求方程的实数解
#include
#include
void main()
{
float a,b,c,k,x,y;
printf("input a,b,c:");
scanf("%f,%f,%f",&a,&b,&c);
k=b*b-4*a*c;
if(fabs(a)
C语言求方程的实数解#include#includevoid main(){float a,b,c,k,x,y;printf("input a,b,c:");scanf("%f,%f,%f",&a,&b,&c);k=b*b-4*a*c;if(fabs(a)
#include
#include
void main()
{
float a,b,c,k,x,y;
printf("input a,b,c:");
scanf("%f,%f,%f",&a,&b,&c);
k=b*b-4*a*c;
if(fabs(a)