Declare an integer array of size 100 prompt the user to


Make a program that does the following:  

  • Declare an integer array of size 100.
  • Prompt the User to enter a positive number less than or equal to 100.
  • The User's input indicates the number of random numbers to generate and store into the array. The random numbers must be between -100 to 100, inclusive. 
  • Print all the numbers generated on one line. 

Make a summary of the numbers containing the following information: 

  • Count (Number of elements) 
  • Average 
  • Sum 
  • Maximum 
  • Minimum

Solution Preview :

Prepared by a verified Expert
Business Management: Declare an integer array of size 100 prompt the user to
Reference No:- TGS02518975

Now Priced at $10 (50% Discount)

Recommended (93%)

Rated (4.5/5)