Question: c# using printf and scanf prepare program for c Exercise 1 Graphing Array Elements values with Histogram Exercise Obiectives Declaring and initializing 1-D arrays Applying

 c# using printf and scanf prepare program for c Exercise 1
Graphing Array Elements values with Histogram Exercise Obiectives Declaring and initializing 1-D
c# using printf and scanf
prepare program for c

Exercise 1 Graphing Array Elements values with Histogram Exercise Obiectives Declaring and initializing 1-D arrays Applying random number generation Applying random number generation Call by reference Problem Description Write and run a C program that reads numbers from an array and graphs these numbers in the form of a bar chart or "Histogram". O 0 The program performs the following: Creates one array named Value of 10 elements. Define and implement a function named FillArray that receives two parameters: an array a of intgers and its size n. FillArray Fills the array Value with random numbers in the range 1 to 20. Take into account to randomize the generated random values for each execution of the program. Define and implement a function named printArray that receives two parameters: an array a of integers and its size n. printArray Prints each number in the value array, then prints a bar consisting of that many asterisks (*) beside the number. Define and implement a function named SortArray that receives two parameters: an array a of integers and its size n. and sort the array in descending order. Define and implement a function named SearchArray that receives three parameters: an array a of integers, its size n and the Key and print exist" if the key available, Otherwise "not exit" The output should be as follow: Histogram Sample Output Element Value 0 10 1 3 2 15 7 4 11 9 13 5 8 17 9 1 COVO

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!