21st Nov 2019, 4:39 AM
riya
riya - avatar
10 Respostas
+ 5
Check your spellings first- 1) #include 2) iostream Change void main to int main and return 0. You missed using namespace std; When transposing remove == and put =. Few of your cout lines are not terminated with ; Once you do all this then go for the logic you applied.
21st Nov 2019, 5:58 AM
Avinesh
Avinesh - avatar
+ 5
Looks like you are in a habit of using Turbo C++. If you do then I would suggest you to leave this habit as soon as possible And as far as errors are concerned then I am pretty sure that Avinesh described then all
21st Nov 2019, 7:50 AM
Arsenic
Arsenic - avatar
+ 4
I corrected it here but later saw that people had already pointed out the errors: https://code.sololearn.com/czx9fZAaXNlz/?ref=app
21st Nov 2019, 12:38 PM
Sonic
Sonic - avatar
+ 4
riya no problem.
23rd Nov 2019, 11:03 PM
Sonic
Sonic - avatar
+ 2
Sonic thanks!
23rd Nov 2019, 1:05 PM
riya
riya - avatar
+ 1
Arsenic Well we use this in our school, so this is my only option for now.
21st Nov 2019, 8:00 AM
riya
riya - avatar
+ 1
~ swim ~ nah actually I'm using my desktop to write all the codes
21st Nov 2019, 9:34 AM
riya
riya - avatar
+ 1
@ i know right...don't know what well.gain by learning the language that isn't even in use rt now...well at least it builds up the logic part
21st Nov 2019, 9:37 AM
riya
riya - avatar
0
I told ya
21st Nov 2019, 9:38 AM
Arjun
Arjun - avatar
0
Arjun don't message me here ..I get notified about it..msg when I have blocked the notifications
21st Nov 2019, 9:40 AM
riya
riya - avatar