请大家帮我看看这个到底哪错了 C语言新手
两个浮点数的乘法#include <stdio.h>
int main ( )
{
float a,b,c;
printf("输入两个浮点数:");
scanf("%f %f ",&a, &b);
c=a*b;
printf(" a * b = c ", a b c );
return 0 ;
}
#include <stdio.h> int main( void ) { float a, b; printf( "输入两个浮点数:" ); scanf( "%f%f", &a, &b ); float c = a*b; printf( "%g * %g = %g\n", a, b, c ); }