Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C programming Description 1. Create an array of 100 random numbers in the range of 1..99, write a function for each of the following processes.

C programming

image text in transcribed

Description 1. Create an array of 100 random numbers in the range of 1..99, write a function for each of the following processes. In building the array, if 3 or 7 evenly divide the random number, store it as a negative number. a. Print the array ten values to a line. Make sure that the values are aligned in rows. b. Retum a count of the number of even values C. Return the sum of all values in the array 2. Create a two dimensional array (size 10 x 10). Fill this two dimensional array with the values from the above single dimensional array. Determine the maximum value in each row. Display the two-dimensional array and the maximum of each row. 3. Repeat number 2 above but this time instead of 10 x 10 array, prompt the user for the size of the row and column, allow user to fill in the values and display the array.(Hint: Use pointers and dynamic memory allocation)

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_2

Step: 3

blur-text-image_3

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 Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

More Books

Students also viewed these Databases questions