handy killims streetteam blog's
Rabu, 11 Mei 2011
array 1 dimensi
public class array
{
public static void main(String [] ar)
{int [] um={4,5,2,3};
String [] nm={"joko","Budi","Yeni","Nino"};
System.out.println("No Nama Umur");
for(int i=0 ; i<4;i++)
System.out.println((i+1)+" "+nm[i]+" "+um[i]);
}
}
Tidak ada komentar:
Posting Komentar
Posting Lebih Baru
Posting Lama
Beranda
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar