Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package labExer1B_;
- import java.util.Scanner;
- public class runMain {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- System.out.print("Enter an integer: ");
- int userInput = scanner.nextInt();
- plusClass plus = new plusClass();
- plus.showNumberPlus10(userInput);
- plus.showNumberPlus100(userInput);
- plus.showNumberPlus1000(userInput);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement