code:https://ide.codingblocks.com/s/208066
please figure it out
Test case 2,3,4,5 are not running
@nautiyal.anurag200501
The statement is
“Invalid operation. Try again.”
and NOT
“Invalid Operation .Try again.”
Check after correcting this.
still not working , same 2,3,4,5 test cases are not running
Your code will only check for the first set of input because you have not included any loop. Dry run and check
Take the input statements and the switch case statements within a loop. The loop would break as soon as X or x is given as input
now i have done using if else
code:https://ide.codingblocks.com/s/209333
but some test cases are still not working
i have putted inside a loop also.
Check now…I changed line 44…as the format of printing was wrong. You must match it with the sample output.
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.