wap to swap the three digit numbervoid main int


WAP TO SWAP THE THREE DIGIT NUMBER

void main ()

{

int b,r,n,r1,r2;

clrscr ();

printf ("Enter the Value: ");

scanf ("%d",&n);

r=n%10;

n=n/10;

r1=n%10;

n=n/10;

r2=n%10;

n=n/10;

b=(r*100)*(r2*10)+(r2);

printf ("%d%d%d",r,r1,r2);

getch ();

}

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: wap to swap the three digit numbervoid main int
Reference No:- TGS0159465

Expected delivery within 24 Hours