https://ide.codingblocks.com/s/140338
WHY MY CODE IS PARTIALLY ACCEPTED?
Simple basic calculator
a b c can be 100000000 so a*b can exceed integer limit
make abc as long long int
my code still not work after making a,b,c as long long int.
check for the question by above link p/195 if there is difference in ur question send me that
Write a program that works as a simple calculator.
1.It reads a character (ch)
2.If ch is among β+β, β-β, β*β, β/β or β%β it furthur takes two numbers (N1 and N2 as input). It then performs appropriate appropriate operation between numbers and print the number. 3.If ch is βXβ or βxβ, the program terminates.
4.If ch is any other character, the program should print βInvalid operation. Try again.β and seek inputs again (starting from character).
Write code to achieve above functionality.
i mean send link so that i can try to sumbit this ans there
I hope Iβve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.