sir can u plz tell why u have used && operator in while
why we cant use or operator
and why u have written cin>>ch at the end
i am unable to understand
Basic calculator
@qudsiya ch shouldn’t be x and X thats why use and if you use or then it dont mean anything.
cin>>ch at end because you have to keep taking input until x , X are discovered
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.