Question: javascript javascript Assignment 5: loops Create pseudocode and flowcharts first, and then create the following pro- grams using a for loop: A secret number variable
javascript

javascript
Assignment 5: loops Create pseudocode and flowcharts first, and then create the following pro- grams using a for loop: A secret number variable between 1 and 100 is set. The program requests the user to choose a number between 1 and 100. If the chosen number if higher or lower than the secret num- ber, it is told to the user that tries again until the secret number is found. If/when the chosen number is the same as the secret number, a congratulation message is output to screen such as the follow- ing: Congratulations! x was the secret number You found it in y attempts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
