//uji coba1
int[]
ages = new int[100];
ages
[0]=100;
ages[99]=90;
for( int i=0; i<100; i++ ){
System.out.print( ages[i] );
}}}
//uji coba2
//soal1 1 ganjil,2 genap,3 ganjil,4 genap
for (int a=1;a<=4;a++)
if (a%2==0)
System.out.println(a+"genap");
else
System.out.println(a+"ganjil");
}}
0 komentar:
Posting Komentar