+ 2

My c++ program isn't printing out the sum of the two input variables

I want my code to be able to take the two user inputs and add them together. For some reason it's not working. Please help. https://code.sololearn.com/ckR4Blohz0El/?ref=app

15th Feb 2018, 4:53 PM
Babydoll Scripts
Babydoll Scripts - avatar
2 Antworten
+ 4
After you fix both of those errors; you have two more. Use \n instead of /n. Hint: lines 6 and 10 are missing something lines 5, 7, 8, 9, 11, 12, and 13 have.
15th Feb 2018, 5:16 PM
John Wells
John Wells - avatar
+ 1
:7:1: error -> in line 7 at the beginning (1) the compiler was like "whoa! wait! something is wrong here!" go to the line before it and check what went wrong. then do the same for the next error message. good luck finding your mistake (it's not hard to find it. you can do it ^^)
15th Feb 2018, 5:05 PM
Alex
Alex - avatar