#include<iostream.h>
#include<conio.h>
main()
{
int a,b,c,d;
cout<<"ENTER
3 DIGIT NUMBER\n";
cin>>d;
cout<<"============================================================\n";
cout<<"
INPUT\n";
cout<<"YOUR
ENTER DIGIT IS = "<<d<<"\n";
a=d/100;
b=d/10%10;
c=d%10;
cout<<"\n\n\n
OUTPUT\n";
cout<<"A
= "<<a<<"\nB = "<<b<<"\nC
= "<<c<<"\n\n\n\n\n\n\n";
getch();
}
0 Comments
USE ANONYMOUS PROFILE IF YOU WANT D'NT SHARE EMAIL