Why this don't work at this app? :( | Sololearn: Learn to code for FREE!
15th Feb 2020, 11:30 PM
Artem
Artem - avatar
3 Antworten
+ 5
Nothing to do with the app - you just got a bunch of mistakes. 1.) write int main instead of void main. 2.) You have to take the input c at some point. 3.) Switch needs curly brackets {}. 4.) In the del case just write del instead of del(double). Now deliver the input all in the beginning, and your code runs just fine.
15th Feb 2020, 11:45 PM
HonFu
HonFu - avatar
+ 2
Thanks, bro!
15th Feb 2020, 11:52 PM
Artem
Artem - avatar
0
After you done the previous corection, you forget to put (cin >> c;), to allow users chose from the 4 option.
16th Feb 2020, 7:34 PM
Rafik Abdelhak Nadir
Rafik Abdelhak Nadir - avatar