Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q: Write C++ program that prompts a user to enter 10 numbers. The program reads the numbers into an array and finds the smallest number

image text in transcribed

Q: Write C++ program that prompts a user to enter 10 numbers. The program reads the numbers into an array and finds the smallest number in the list, the largest number in the list, the sum of the 10 numbers, and the average of the 10 numbers. The following is a copy of the screen results that might display after running your program, depending on the data entered. The input entered by the user is shown in bold. Enter your list of numbers: 10 5 3 -5 9 14-8 0 2 -6 Your array has these values: 10 5 3-5 9 14 -8 0 2 -6 From your 1ist of 10 numbera smallest: -8 largest 14 sum: 24 average: 2.4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

Students also viewed these Databases questions

Question

f. Did they change their names? For what reasons?

Answered: 1 week ago