Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a c program along with a design tool for the following specifications: the client owns a small business. the client needs a simple program

write a c program along with a design tool for the following specifications: the client owns a small business. the client needs a simple program that will store the results of up to 10,000 sale transaction amounts. The program should randomly populate a random number of sales.

the program should randomly populate a random number of sales. between 500-10,000

example run your program generates the random number 666. this random number will represent the esize for your array.

Next you will loop ezise times. within each loop. you will generate a new random number (you decide the domain of the values.) you will store each of the random values in your array

199

678

228

122

874

389

159

output tthe values within the array in columns of 10 numbers in each column (other than the last column it will have 10 or less values)

calculate and display the following:

Largest number

smallest number

average of the number

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

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

=+4 How does one acquire a global mindset?

Answered: 1 week ago

Question

=+2 How can the effectiveness of global virtual teams be improved?

Answered: 1 week ago