Waived!

Create a program that generates 1000 random integers between 1 and 100 (both included) and save them into a list.

(1 patron review)

Original price was: $10.00.Current price is: $5.50.

View Details
Solved By Verified
Study Co-Pilot All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.
Instant
Download

Description

Create a program that generates 1000 random integers between 1 and 100 (both included) and save them into a list.

Then, print the numbers in the list until it finds a number greater or equal to 90.

When it finds that number, it stops printing.

Then it prints the following 2 items:

  1. The count of how many numbers were printed
  2. The total sum of those numbers printed.

You may also like…