0

How to do this?

Write an external Javascript program taht will adds up integers that the user enters. First the program ask how many numbers will be added up. Then the program promp. Then the prompt the user for each number. Finally,  it prints the sum. Use the prompt method for inputs and alert method for output. The program should immediately start once you load the HTML document in a browser. Use for loop.

29th Nov 2022, 11:02 AM
Zoe Mangay-ayam
2 Answers
+ 4
The description explains everything: 1. Prompt the user for the number of numbers 2. Do a for loop with this quantity 3. Prompt the user for each number for the sum 4. Sum the numbers 5. Output the sum Which are exactly your difficulties?
29th Nov 2022, 11:14 AM
Emerson Prado
Emerson Prado - avatar
+ 2
Don't wait for someone who will give you a well executed code just start with your knowledge on coding whenever you stuck attempt your code here ask your doubt here where you're doing wrong/different logic for my code so anyone can help you along with your code.. Happy Learning Thank you !!
29th Nov 2022, 11:28 AM
SùñtÎsh
SùñtÎsh - avatar