Subscribe to:
Post Comments (Atom)
Cara download Installer windows 10 dalam format ISO
1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan. ...
-
ANSWERS TO CHAPTER EXERCISES (CHAPTER 8) Review Questions 1. List and describe various types of output, including technolog...
-
Chapter 1 - Introduction to Computer What is computer? List and describe the five components of Computer. What is Network? What is System So...
-
1.TOPUP Cepat Susut Jika anda merasa topup prepaid anda cepat susut walaupun tak banyak call- ada baiknya anda semak log call/sms/content ...
1 comment:
import java.util.Scanner;
public class guest {
public static void main(String[] args) {
int guess,x;
x=(int)(Math.random()*101);
Scanner input= new Scanner(System.in);
// TODO, add your application code
System.out.println("Sila teka satu nombor");
guess= input.nextInt();
if(guess==x){
System.out.println("Tahniah");
}
else {
if(guess>x){
System.out.println("Besar sangat");
}
else{
System.out.println("Kecil sangat");
}
}
}
}
Post a Comment