plz spot the error and correct it it is showing only 2 test cases correctly
Doubt in running code
@uks.2610 you haven’t taken any input in your code neither any number nor any operation. take input as per problem statement.
@uks.2610 again you haven’t taken your char input n, and you have to run your code until you found a x or X till then continue taking input and print with changing line.
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.
@uks.2610 i have corrected your code and commented the parts look here it is working fine now https://ide.codingblocks.com/s/224936