I did this question using if else-if loops. Here’s my code - https://pastebin.pl/view/c963968d
Please let me know how to do this using do-while loop.
I did this question using if else-if loops. Here’s my code - https://pastebin.pl/view/c963968d
Please let me know how to do this using do-while loop.
hello @gambhirrahul0
follow this pattern->
do{
read character and print appropriate ouput
} while( breaking condition);