Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class apples{
- public static void main(String args[]){
- Scanner daniel = new Scanner(System.in);
- Double test, answer;
- System.out.println("Please enter your password");
- test = daniel.nextDouble();
- if (test == 9){
- System.out.println("You've got mail!");
- }else{
- System.out.println("You do not have any mail!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement