Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class If {
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- int number=3, numberTwo= 0;
- Scanner cheese= new Scanner(System.in);
- number= cheese.nextInt();
- numberTwo= cheese.nextInt();
- if ( number == 3 || number == 5)
- {
- System.out.println("YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEET");
- }
- String username;
- String password;
- username = cheese.next();
- password = cheese.next();
- if ((username.equals("Code") || username.equals("code")) && password.equals("abc123"))
- {
- System.out.println("Dab on em Facebook");
- }
- else
- {
- System.out.println(" Dab on em LEAVE");
- }
- boolean carPool = cheese.nextBoolean();
- if (carPool)
- {
- System.out.println("You are car pool");
- }
- else
- {
- System.out.println("NO");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement