Question: IN java Assign the value 9 to a variable named myFirstNumber and the value 13 to a variable named mySecondNumber. Print out the sum of
IN java

Assign the value 9 to a variable named myFirstNumber and the value 13 to a variable named mySecondNumber. Print out the sum of the values stored within these two variables. Assign new values to myFirstNumber and mySecondNumber: 65 and 3 respectively. Print out the product of the new values stored within these two variables. (That is, print out the result of multiplying the new values stored within these two variables.) Loop through the first 100 numbers, printing out Yes! if a number is divisible by 2, and No! if it is not (Hint: Use the modulo operator %, which is also known as the odulus operator)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
