[SOLVED] Need help C++ calculator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

[SOLVED] Need help C++ calculator

I can't figure out what the problem, program ask for out put quiet well then outputs error messages. https://code.sololearn.com/ciy678ukEYht/?ref=app

23rd Jun 2020, 10:23 AM
Neba Emmanuel
Neba Emmanuel - avatar
4 Answers
+ 8
I can fix your compile time errors . But i cannot fix your run time errors because your code in big. Remove these two lines of your code letter3=(); line 133 letter4(); line 163
24th Jun 2020, 3:48 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
Your program contains a bunch of errors. Luckely the compiler tells you exactly where and what the error is. For example the getche function should be getchar. '÷' isn't a valid character, '/' is the division operator. '.' doesn't separate variables nor arguments to functions, ',' does. Just to name a few.
23rd Jun 2020, 10:36 AM
Dennis
Dennis - avatar
+ 1
Thanks Sizuna and Dennis it works fine now....
24th Jun 2020, 1:41 PM
Neba Emmanuel
Neba Emmanuel - avatar
0
Here I made a simple calculater . https://code.sololearn.com/cpq3veX4looB/?ref=app
23rd Jun 2020, 11:29 AM
Naveed
Naveed - avatar