Advertisement
myrdok123

05. Number 100...200

Mar 16th, 2024
470
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.51 KB | None | 0 0
  1. package ConditionalStatements;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class P05Number100To200 {
  6.  
  7.     public static void main(String[] args) {
  8.         Scanner scanner = new Scanner(System.in);
  9.  
  10.         int number = Integer.parseInt(scanner.nextLine());
  11.  
  12.         if(number < 100){
  13.             System.out.println("Less than 100");
  14.         } else if (number <= 200) {
  15.             System.out.println("Between 100 and 200");
  16.         } else {
  17.             System.out.println("Greater than 200");
  18.         }
  19.     }
  20. }
  21.  
Advertisement
Comments
  • davtours
    49 days
    # text 1.05 KB | 0 0
    1. How do you get to Volcanoes National Park Rwanda?
    2. Tour Operator: Dav Safaris Website: www.davsafaris.com Email: info@davsafaris.com Tel: +256701412430 | +256757795781
    3. How do you get to Volcanoes National Park Rwanda?
    4. How do you get to Volcanoes National Park Rwanda? To get to Volcanoes National Park (one of the best places to see gorillas in Africa) for Rwanda safaris, visitors can choose between road and air transport options. The road journey from Kigali covers approximately 116 kilometers and typically takes 2-3 hours, passing through the vibrant city of Kigali and offering scenic views of the Rwandan countryside with its local villages, rolling hills, and lush greenery. On the other hand, travelers can opt for a quicker air transport option, with a flight from Kigali International Airport to the nearest airstrip to the park in Ruhengeri taking around 30-40 minutes. From the airstrip, ground transportation can be arranged to reach the park entrance or accommodations nearby.
    5. https://davsafarisuganda.blogspot.com/2024/03/blog-post.html
    6.  
Add Comment
Please, Sign In to add comment
Advertisement