I have learn c in some different way and i try but my program is not execute.I have learn the program of the sum of two value | Sololearn: Learn to code for FREE!
+ 1

I have learn c in some different way and i try but my program is not execute.I have learn the program of the sum of two value

like this https://code.sololearn.com/cf6oe4t9Rw92/?ref=app is this wrong method.plz tell

3rd Jan 2019, 11:13 AM
Raj Kiran Singh
Raj Kiran Singh - avatar
3 Answers
+ 4
Remove the last line getch() this ain't turbo cpp
3rd Jan 2019, 11:33 AM
xyz$
+ 4
Delete the getch line 13. You don't need it here. It is only needed when the display window for the program vanishes when the program terminates like on Windows. Make sure you enter both values to the input prompt as your program is run remotely and must have all values before it is started. After it completes, all output is returned for display.
3rd Jan 2019, 11:38 AM
John Wells
John Wells - avatar
+ 1
Hello. Delete the getch() at the end. So it will execute.
3rd Jan 2019, 11:33 AM
Timo Heinzelmann
Timo Heinzelmann - avatar