ITEC 120 Lab Quiz 1 - Tuesday, Sept 9

Lab Quiz 1 - Do some calculations with 3 integer numbers.
Submit your program to your directory on neelix. Create the folder RU02.

Declare 3 integer variables to store 3 numbers.

Assign the value of 5 to the first variable.
Assign the value of 13 to the second variable.

Assign the value of 23 to the third variable.

Use println to output the values of the each of the variables, along with a descriptive string.

Find the sum of the three variables, and output the sum (with a descriptive string).

Find the product of the three numbers (multiply them) and output the product (with a descriptive string).

Find out how many times the sum of the three numbers can be divided evenly by the first number (5), and output (with a descriptive string).

Name your program file labquiz1.java and save it in a folder called RU02 in your folder on neelix.

Extra Credit:
For 1 point (lab quiz is worth 10 points) extra credit, find the remainder when the sum is divided by the first number (5). Output the remainder along with a descriptive string.

To get full credit, your output needs be nicely formatted. Here is a sample output. (Note: these are not the correct numbers.)

First number is 4
Second number is 6
Third number is 7
The sum of the numbers is 17
The product of the numbers is 168
4 goes into 17 4 times, with a remainder of 1.

Note: (with a remainder of 1 is the extra credit part)