Guest User

Untitled

a guest
Dec 13th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Write a program that creates and initializes two variables of type int (integer). Then calculates and
  2. prints out the value of the first number divided by the second one. The program also must
  3. calculate and print out the remainder of the division. Use keyboard.nextInt() method to read
  4. an integer from the keyboard as following:
  5. Scanner keyboard = new Scanner(System.in);
  6. Int a = Keyboard.nextInt();
Add Comment
Please, Sign In to add comment