C prgramme not works in solo | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C prgramme not works in solo

solo tells c pragramming code worjs with solo playground but my code not works i am also updated the solo the cide is #include <stdio.h> #include <conio.h> void main() { int a,b,c; clrscr(); printf("Enter two numbers"); scanf("%d,%d",&a,&b); printf("The sum is %d",&c); getch(); }

16th Dec 2017, 4:31 PM
ajmal yousuf
ajmal yousuf - avatar
1 Answer
+ 6
#include <stdio.h> #include<conio.h> int main() { int a,b,c; printf("enter two no."); scanf("%d%d",&a,&b); c=a+b; printf("c=%d",c); return 0; getch(); } do like this you will get the output
16th Dec 2017, 4:43 PM
GAWEN STEASY
GAWEN STEASY - avatar