eate a Java Script program which will prompt the user for four (4) sports. Requirements: • Use an array to store the names of the sports. • Use a looping structure to populate the array. • Display each of the 4 sports from the array on the screen using a looping structu

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 14PP: (Data processing) Construct a three-dimensional weather array for a two-week time period. Include...
icon
Related questions
Question

Create a Java Script program which will prompt the user for four (4) sports.

Requirements:

• Use an array to store the names of the sports.
• Use a looping structure to populate the array.
• Display each of the 4 sports from the array on the screen using a looping structure.
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
JQuery and Javascript
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage