Question: Bug Collector: A bug collector collects bugs for 7 days. Your program should ask the user how many bugs they have collected on each of
Bug Collector: A bug collector collects bugs for 7 days. Your program should ask the user how many bugs they have collected on each of the seven days (using a prompt) and add this number into a running total. This should be performed with a loop. At the end of the loop, show the total number of bugs collected.
Please help me code this in Javascript.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
