NPM : 201043500997
Isikan 3 digit angka NPM belakang
maka
public class hitung{
public static void main (String[]Xx){
int a,b,c;
a=9; b=9; c=7;
System.out.println (a++ +b);
System.out.println (++a +c);
System.out.println (++c +a);
System.out.println (c++ +b);
System.out.println (b-- +b);
}
}
OUT PUT :
18
18
19
17
17
Isikan 3 digit angka NPM belakang
maka
public class hitung{
public static void main (String[]Xx){
int a,b,c;
a=9; b=9; c=7;
System.out.println (a++ +b);
System.out.println (++a +c);
System.out.println (++c +a);
System.out.println (c++ +b);
System.out.println (b-- +b);
}
}
OUT PUT :
18
18
19
17
17
No comments:
Post a Comment