Answer:

Maybe. Who knows?

Crowd Estimation Program

When a crowd gathers for a parade or other event, experts estimate how many people there are. These estimates are not very reliable. (The promoters of the event usually overestimate how many people show up.)

Let us write a program that tests the user's ability to estimate crowds. The program will put a number of points on the screen, then ask the user how many points there are. The user answers, then the program calculates and prints how close the user was.

This sounds like a complicated program, but it is not too bad if you look at the steps the program will take. Each step is just a statement or two.

  1. Program picks a random number.
  2. Program drawns that many spots.
  3. Program asks the user how many spots there are.
  4. User types in an estimate.
  5. Program reads the user's estimate.
  6. Program calculates the error, and prints it.

QUESTION 20:

The program draws a random number of spots between 0 to to 29,999. The number of spots will be called NUMBER.

Write a QBasic statement that picks a random integer from 0 to 29,999. (Hint: look for a similar statement in the previous program.)