Whats missing in this program to run? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whats missing in this program to run?

https://code.sololearn.com/cXPPPq6zURp9/?ref=app

30th Apr 2018, 6:42 AM
Don Loic
3 Answers
+ 1
#include <stdio.h> double main() { double a,b,total; printf ("input"); scanf("%lf%lf",&a,&b); total = a+b; printf("output = %1lf",total); return 0.0; }
30th Apr 2018, 6:50 AM
Yugabdh
Yugabdh - avatar
0
Now it will work u missed comma in printf statement
30th Apr 2018, 6:53 AM
Yugabdh
Yugabdh - avatar
0
thanks 👌
30th Apr 2018, 7:25 AM
Don Loic