Question: #include #include void main() { clrscr(); long int b,n,c=9; cout < >n; while(n>0) { b=n%10; if(b

#include #include void main() { clrscr(); long int b,n,c=9; cout<<"Enter a number="; cin>>n; while(n>0) { b=n%10; if(b

How is this logic working?Please make me understand.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!