What is wrong with this code for simple calculator
Hi @chahatkumar, pls do this question in a simple manner. No need to apply a do while loop. Just write as asked also in / and % if n2 == 0 then skip that calculation. Again make your code simple and direct as question demands.
Pls rewrite your code/algo.
okay thankyou sir. i will rewrite it 