#include<iostream.h>
#include<conio.h>
int main ()
{
char nominal[5];
cout<<"masukan nominal : ";
cin.getline(nominal, 5);
cout<<"ribuan : "<<nominal[0]<<endl;
cout<<"ratusan : "<<nominal[1]<<endl;
cout<<"puluhan : "<<nominal[2]<<endl;
cout<<"satuan : "<<nominal[3]<<endl;
getch ();
}
16/03/12
C++ MENAMPILKAN NOMINAL UANG
Label:
pemrograman
Diposting oleh
from indonesian computer to world
at
3/16/2012 08:31:00 PM
1 komentar
gak bisa punuya saya, ada saran gak
Posting Komentar