cek panjang digit, lalu buat looping untuk menampilkan spasi dari iterasi 0 
s/d (n-1) dimana n adalah panjang digit.

Muhadkly - Acho- , http://muhadly.info
====================================================
----- Original Message ----- 
From: Rama
To: [email protected]
Sent: Wednesday, June 20, 2007 5:41 PM
Subject: [ITCENTER] TEKA TEKI LogikaPemograman (siapa yg bisa?)



Halo rekan IT, saya mengalami kesulitan dlm memecahkan persoalan di
bwh ini...mohon pencerahannay y.

soal :
Write a program that inputs one number consisting of five digits from
the user, separates the
number into its individual digits and prints the digits separated
from one another by three spaces each.
For example, if the user types in the number 42339, the program
should print

4 2 3 3 9

Use the command window for input and output. You will need to use
both division and modulus operations to "pick off" each digit.(no
control allowed).





-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##

## Jaket ITCENTER tersedia di http://shop.itcenter.or.id 
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ITCENTER/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ITCENTER/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Kirim email ke