/**
* @(#)MaafRaya0_0.java
*/
import java.util.Scanner;
public class MaafRaya0_0 {
public static void main(String[] args) {
String answer;
boolean maaf=false;
Scanner input = new Scanner(System.in);
System.out.println("Selamat Menyambut Hari Raya");
do {
System.out.println("Mohon Maaf Zahir & batin : ya / tidak");
answer = input.next();
if (answer.equals("ya")){
maaf=true; }
}while(maaf!=true);
System.out.println("Terima Kasih kerana sudi maafkan kami, 0-0 ya. ");
}
}
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...
-
Based on real life scenario on any local company/ organization which you are very familiar, define the problem that could be addressed thr...
-
A. Response to the following statements by circling either T (TRUE) or F (FALSE). [10M] I. 1. Java enables users...
No comments:
Post a Comment