Question: i n C language code. please answer the following question with the Relevant Programming Concepts: Function with pass by pointer Array Write a C program

in C language code. please answer the following question with the Relevant Programming Concepts:

  • Function with pass by pointer
  • Array

in C language code. please answer the following question with the Relevant

Write a C program that can determine and display the value of a collection of coins entered by a user. Your program must complete and use the following function (Note: -10 points if the function is not used in your program). void scedit(int quarter, int dime, int nickel, int penny, int *dollars, int *cents); The function accepts numbers of each coin type (quarter, dime, nickel, penny) and outputs the total amount of money in terms of dollars and cents Sample execution (red entered by a user) Enter coins info (Quarter, Dime, Nickel, Penny): 14 12 25 131 Coin Credit: Dollars: 7 Change: 26 cents Do you want to continue (y or n)Py Enter coins info (Quarter, Dime, Nickel, Penny): 100 0 0 109 Coin Credit: Dollars: 26 Change: 9 cents Do you want to continue (y or n)Py Enter coins info (Quarter, Dime, Nickel, Penny): 0 1000 500 175 Coin Credit: Dollars: 126 Change: 75 cents Do you want to continue (y or n)? n

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!