import jeliot.io.*;
public class MyClass {
public static void main() {
// Your algorithm goes here.
int a;
System.out.print("Masukkan bilangan : ");
a= Input.readInt();
System.out.print("bilangan yang diinputkan, ");
if (a>=0){
System.out.println("positif");
}
else {
System.out.println("negatif");
}
}
}
Program Java Jeliot Bilangan Positif dan Negatif
3:11 AM |
Label:
Praktikum ini
Subscribe to:
Post Comments (Atom)
0 komentar:
Post a Comment