Learn Object Oriented Programming (OOP) in C++ / সি++ Here
Write a C++ program that will read an integer number (up to four digits) and convert it into words.
//Sumaiya Mariya//ID:201520785#includeusing namespace std;int main(){ int n; cout<<"Enter 4 Digit Number :"; cin>>n; cout<<n/1000<<endl; n=n%1000; cout<<n/100<<endl; n=n%100; cout<<n/10<<endl; n=n%10; cout<<n; return 0;}
Comment Here
//Sumaiya Mariya
ReplyDelete//ID:201520785
#include
using namespace std;
int main()
{
int n;
cout<<"Enter 4 Digit Number :";
cin>>n;
cout<<n/1000<<endl;
n=n%1000;
cout<<n/100<<endl;
n=n%100;
cout<<n/10<<endl;
n=n%10;
cout<<n;
return 0;
}