Answered step by step
Verified Expert Solution
Question
1 Approved Answer
make sure u write the program in javascript JavaScript Programming-Assignment #1 1. Write a program that prompts the user for three numbers. Then using the
make sure u write the program in javascript
JavaScript Programming-Assignment #1 1. Write a program that prompts the user for three numbers. Then using the alert function, display the average, product, and sum of the three numbers. 2. Write a program that ask for the user's first name and user's last name. Have the program then use the alert function to display data. Your First Name: Your Last Name: Your Complete Names is: 3. Write a program that asks the user if it is raining, snowing, windy, sunny or humid outside. Using conditional statements, determine what your alert function will tell the user. HINT: You must have five different outputs for each of the five possible cases. 4. Write a program that ask the user to input their age. Then using console.log () print out how long they have been alive in weeks, days, minutes and seconds. 5. Create a function that takes the average of the all numbers in an array. The function must be able t handle any size. Print out the contents of the size arrayStep 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