Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Write a program that creates and initializes two variables of type int (integer). Then calculates and
- prints out the value of the first number divided by the second one. The program also must
- calculate and print out the remainder of the division. Use keyboard.nextInt() method to read
- an integer from the keyboard as following:
- Scanner keyboard = new Scanner(System.in);
- Int a = Keyboard.nextInt();
Add Comment
Please, Sign In to add comment