Question: Question1: Using Java, initialize an int variable named product to 1. Write the while loop that lets the users enter a number. The number should
Question1: Using Java, initialize an int variable named product to 1.
Write the while loop that lets the users enter a number. The number should be multiplied with produce and the result stored back to the variable product. The loop should iterate as long as product contains a value less than 2000. After the loop stops, display message: product = - the loop stops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
