Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- public class LazyDaysResort{
- public static void main(String []args){
- Scanner input = new Scanner(System.in);
- System.out.println("What is the temperature today?");
- int temp = input.nextInt();
- if(temp>=80)
- System.out.println("You should go swimming in our amazing pools.");
- else if(temp>=60)
- System.out.println("You should go visit our Golf Club.");
- else if(temp<40)
- System.out.println("You should go skiing on our mountains.");
- if(temp>95)
- System.out.println("Visit our shops!");
- else if(temp<20)
- System.out.println("Visit our shops!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement