Can u give me correction it couldnt work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can u give me correction it couldnt work

I need a program that sum three integer enterd by user This is my attembt but it is error https://code.sololearn.com/c2oNE7rWRy4V/?ref=app

20th Dec 2021, 6:21 PM
Muluken
Muluken - avatar
2 Answers
+ 2
1. A syntax error in declaring integer variables: a comma after the variables 2. Prefer to declare all variables in the beginning - including "s" - so it's easier to understand 3. Code playground can't prompt the user to multiple inputs - not a mistake, but just so you know you'll have to input all 3 numbers at once (one on each line) But the most important: always read the run output! The syntax error is readily printed, in clear English. Reading errors is always a lesson. Never miss it.
20th Dec 2021, 7:40 PM
Emerson Prado
Emerson Prado - avatar
0
Hey guys i have made some progress the only thing left os that i want it to print the three integers to it only print the string then the sum i could use some help here
20th Dec 2021, 6:43 PM
Muluken
Muluken - avatar