ce youWrite your C++ program in main.cpp. e a pWrite a program that generates in random numbers each in the interval [11, 213) inclusive. The user will provide the e for value for n. The program prints the numbers, the minimum, the maximum, and the numbers average. e: Yo Note: Your output will be different as the numbers are generated randomly. en you When you are done: Download your code. It will save the file main.cpp and rename the file to lab Exd.cpp. This is very important so that you can always access the code later. to Su How to Submit: ct all Select all the code using Ctrl + A/Cmd + A. y the Copy the code using Ctrl + C/ Cmd + C. e the Paste the code in the answer box using Ctrl+V/Cmd+V on the blackboard. re if Ignore if the formatting of the code is different. re to Move to the next question or press the Save and Submit button. ple in Sample Input/Output: terEnter how many numbers: 5 Then5 random numbers are: 18831 31 1831 1837218572 119 119 119 The minimum is 31 The maximum is 188 The average is6118.6

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
te youWrite your C++ program in main.cpp.
te a pWrite a program that generates in random numbers each in the interval [11, 213] inclusive. The user will provide the
ue for value for n. The program prints the numbers, the minimum, the maximum, and the numbers average.
te: Yo Note: Your output will be different as the numbers are generated randomly,
en you When you are done:
Download your code. It will save the file main.cpp and rename the file to lab8_Ex1.cpp.
This is very important so that you can always access the code later.
w to Su How to Submit:
ect all Select all the code using Ctrl + A / Cmd + A.
y the Copy the code using Ctrl + C/ Cmd + C.
te the Paste the code in the answer box using Ctrl+V/Cmd+V on the blackboard.
ore if Ignore if the formatting of the code is different.
ve to t Move to the next question or press the Save and Submit button.
mple In Sample Input/Output:
terEnter how many numbers: 5
e 5Then5 random numbers are:
8 18831 31 183 18372 72 119 119
e mThe minimum is 31
e mThe maximum is 188
e aThe averagelis6118.6
Transcribed Image Text:te youWrite your C++ program in main.cpp. te a pWrite a program that generates in random numbers each in the interval [11, 213] inclusive. The user will provide the ue for value for n. The program prints the numbers, the minimum, the maximum, and the numbers average. te: Yo Note: Your output will be different as the numbers are generated randomly, en you When you are done: Download your code. It will save the file main.cpp and rename the file to lab8_Ex1.cpp. This is very important so that you can always access the code later. w to Su How to Submit: ect all Select all the code using Ctrl + A / Cmd + A. y the Copy the code using Ctrl + C/ Cmd + C. te the Paste the code in the answer box using Ctrl+V/Cmd+V on the blackboard. ore if Ignore if the formatting of the code is different. ve to t Move to the next question or press the Save and Submit button. mple In Sample Input/Output: terEnter how many numbers: 5 e 5Then5 random numbers are: 8 18831 31 183 18372 72 119 119 e mThe minimum is 31 e mThe maximum is 188 e aThe averagelis6118.6
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Stack operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education