+ 2

Need help in fixing (solved)

I made this calculator in C++ everything is working fine but it doesn't return the value or the answer of Calculation and moves to the another step in both standard and scientific type....I tried fixing it but can't find the bug I even tried to change libraries function in header type but still it doesn't work can anyone help me out I'll be grateful Thank you.. https://sololearn.com/compiler-playground/ca092Msv52Ki/?ref=app

11th Aug 2024, 5:41 AM
〔Ether〕
〔Ether〕 - avatar
3 Antworten
+ 1
the conio.h is no longer available in modern compilers because conio.h is not a standard library so you can't use clrscr() and getch() when you replace the clrscr with new line characters and getch with cin.get() it works I tried 1 1 5 10 and got 15 as the answer
11th Aug 2024, 6:13 AM
Kishor Ramanan
Kishor Ramanan - avatar
+ 3
Kishor Ramanan Thank you so much for help
11th Aug 2024, 6:30 AM
〔Ether〕
〔Ether〕 - avatar
11th Aug 2024, 6:41 AM
Kishor Ramanan
Kishor Ramanan - avatar