Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A external JavaScript required A bug collector collects bugs for 7 days. The program asks the user how many bugs they have collected on each

A external JavaScript required

A bug collector collects bugs for 7 days. The program asks the user how many bugs they have collected on each of the seven days (using a prompt)

a. These values should be added into a running total of bugs collected

b. The tallying of the bugs should be performed with a loop

c. At the end, show the total number of bugs collected to the user in a GUI output

Rubric:

1. Appropriate loop structure used.

a. Depending on the selected program, some will require for-next, while others will require while loops

2. Correct Loop Termination

a. Loop Ends when it should, and does not have an off by one error

b. Is not an endless loop

3. Logic of mathematical process is correct

a. i.e. each iteration changes the correct variables and/or performs the correct calculation

4. Appropriate feedback to user with concatenation

a. Use of a GUI element

5. Check for invalid values that might crash the loop

6. CSS/HTML designed site with title, header, paragraph describing the script and background color

Atleat 3 files required

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

Students also viewed these Databases questions

Question

What is the environment we are trying to create?

Answered: 1 week ago

Question

How would we like to see ourselves?

Answered: 1 week ago

Question

How can we visually describe our goals?

Answered: 1 week ago