Question: Write a JavaScript including statements for variable declaration and assignment that will calculate and print the sum of the integers from 1 to 10. Use
Write a JavaScript including statements for variable declaration and assignment that will calculate and print the sum of the integers from 1 to 10. Use the while statement to loop through the calculation and increment statements. The loop should terminate when the value of variable x becomes 11.
Question Two Write a JavaScript including statements for variable declaration and assignment that will calculate and print the sum of the integers from 1 to 10 . Use the while statement to loop through the calculation and increment statements. The loop should terminate when the value of variable x becomes 11 . Notes: 1. You must copy and paste the "HTML and javascript" as your answer for this question. DON'T take screenshots for your HTML and javascript. It must be editable script. 2. Take a screenshot for your filled form and paste it as a part of your
Step by Step Solution
There are 3 Steps involved in it
To calculate and print the sum of inte... View full answer
Get step-by-step solutions from verified subject matter experts
