Need someones help , I am having a very difficult time understanding parameters and functions, can someone help me answer these questions
1. Write a program that helps an elementary school student learn multiplication. Use rand to produce two positive one-digit integers. It should then type a question such as
How much is 6 times 7?
The student then types the answer. Your program checks the student's answer. If it is correct, print "Very good!", then ask another multiplication question. If the answer is wrong, print "No. Please try again.", then let the student try the same question repeatedly until the student finally gets it right.
2. Write a program that tells what coins to give out for any amount of change from cent to 99 cents. For example, if the amount is 86 cents, the output would be something like the following:
86 cents can be given as
3 quarters(s) 1dime(s) and 1 penny (pennies)
Use coin denominations of 25 cents (quarters), 10 cents (dimes), 5 cents (nickel), and 1 cent (pennies). Do not use half-dollar coins. Your program will use the following function (among other functions that you create):
void computeCoin (int coinValue, int& number, int& amountLeft);
For example, suppose the value of the variable amountLeft is 86. Then, after the following call, the value of number will be 3 and the value of amountLeft will be 11 (because if you take three quarters from 86 cents, that leaves 11 cents):
computeCoins (25, number, amountLeft);
Include a loop that lets the user repeat this computation for new input values until the user says he or she wants to end the program. (Hint: Use integer division and the % operator to implement this function).
3. Write a program that calculates the average of a group of test scores, where the lowest score in the group is dropped. It should use the following functions:
double getScore() should ask the user for a test score, return the variable as a return type and validate it. This function should be called by main once for each of the fives scores to be entered. (Input Validation: Do not accept test scores lower than 0 or higher than 100).
void calcAverage() should calculate and display the average of the four highest scores. This function should be called just once by main, and should be passed the five scores.
int findLowest() should find and return the lowest of the five scores passed to it. It should be called by calcAverage, who uses the function to determine which of the five scores to drop.
4. You will modify program number 3 so that the function called double getScore() will ask for all test scores and return the answers through reference variables rather than a return value. This is what the prototype will look like for this modified function -- void getScore(double &, double&, double&, double&, double&).