Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class exersises
- {
- public static void main(String[] args)
- {
- int x = 25;
- if ( x <= 10)
- {
- System.out.println("1");
- }
- else if ( x <= 100)
- {
- System.out.println("2");
- }
- else if ( x <= 1000)
- {
- System.out.println("3");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement