Advertisement
SenpaiZero

main

Feb 12th, 2024
972
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. package labExer1B_;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class runMain {
  6.     public static void main(String[] args) {
  7.         Scanner scanner = new Scanner(System.in);
  8.        
  9.         System.out.print("Enter an integer: ");
  10.         int userInput = scanner.nextInt();
  11.         plusClass plus = new plusClass();
  12.        
  13.         plus.showNumberPlus10(userInput);
  14.         plus.showNumberPlus100(userInput);
  15.         plus.showNumberPlus1000(userInput);
  16.     }
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement