I m unable to identify the errors in this code.plz help me . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I m unable to identify the errors in this code.plz help me .

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

17th Jan 2018, 6:59 PM
Deepak Bhalode
Deepak Bhalode - avatar
3 Answers
+ 4
In all the printf function calls you need to use + not, between the arguments to concatenate the strings. Finally after the second printf call you need a ;
17th Jan 2018, 7:06 PM
josh mizzi
josh mizzi - avatar
+ 1
Try changing the syntax of your scanf tot this scanf ("%d %d",&a,&b); and don't forget tot add a semicolon at the end of each line!
17th Jan 2018, 7:17 PM
Jente
+ 1
thanks to u all....I did it...and it worked.
18th Jan 2018, 2:56 AM
Deepak Bhalode
Deepak Bhalode - avatar