Thursday, November 29, 2007

Memilah Bilangan



Algoritma :
1. read ribuan, ratusa, pul, sat
2. input ribuan
3. input ratusan
4. input pul
5. input sat
5. ribuan=ribuan*1000
6.ratusan=sartusan*100
7. pul=pul*10
8. sat=sat*1
9. Print ribuan, ratusan, pul, sat
10 Program selesai.

No comments: