:::: MENU ::::
  • Suitable for all screen sizes

  • Easy to Customize

Kamis, 15 Oktober 2015


tulis script persis dibawah ini !!!
package tokojono;
import java.util.*;
public class ganjilgenap {
public static void main (String[]args){
    Scanner input = new Scanner(System.in);
    int a,b,c;
    System.out.print("Masukkan angka =");
    a = input.nextInt();
    for (b=a;b>=1;b--){
    for (c=b;c>=1;c--){
        System.out.print(c);}
        System.out.println("");
}
}
}

0 komentar:

Posting Komentar

A call-to-action text Contact us