Question: So for C programming I am suppose to creat a program with these requirements. I have completed secctions 1 and 2. If you guys can

So for C programming I am suppose to creat a program with these requirements. I have completed secctions 1 and 2. If you guys can help me with sectoins 3 and 4 that would be great. Thank you! :) Also, we have only worked with loops, arrays, if/else statements, and functions. Anything else that is super complex will not make sense to me.. Below I have put my code of what I have done already. That should give you a glimpse of what I understand

So for C programming I am suppose to creat a program with

these requirements. I have completed secctions 1 and 2. If you guys

Sample Outputcan help me with sectoins 3 and 4 that would be great.

What I have so far:

Thank you! :) Also, we have only worked with loops, arrays, if/else

The program is to have the following functions and function requirements 1. calculateProduct, this function: a) prompts (and scans from) user for two integers for each of the desired calculations, b) calculates products, c) returns product. 2. selectionSortProduct, this function: a) receives prodResults one dimensional array, b) sorts products in descending order, - c) displays result to user 3. multiplicationTable, this function a) prompts user for dimensions of multiplication table -size of the multTable two dimensional array- b) initializes two dimensional array to be displayed c) prints accurate (values, size, and spacing) multiplication table (array contents). 4. main, this function a) welcomes and introduces user to the program, b) prompts (and scans from) for number of products user wants to calculate (i) number of products is to be a global variable, c) calls calculateProduct function to calculate as many products as needed d) stores each returned product in productResults one-dimensional array e) calls selectionSortProduct function, f) prompts (and scans from) user if he/she would like to see a multiplication table (i) if yes ('y' or 'Y), then the multiplicationTable option is called and the table option is not given again (unless program is restarted)

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!