Question
1. Modify Example 19.7 [20 points] A. combine three loops into one loop. B. Use while loop to replace the for loop and maintain the
1. Modify Example 19.7 [20 points] A. combine three loops into one loop. B. Use "while loop" to replace the "for loop" and maintain the same function. XXXX=also I need to keep the same formatting as the for functions in the same order
2. Modify the Example 19.8 - new program. [20 points] A. Use confirm function to always ask if the user wants to continue before the program ends. B. If the user click OK button, the program should start again. C. If the user click Cancel button, then the program ends and output (alert()) "See you next time" message.
19.7
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
19.8
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started