Write a function that converts an input of some integer


Solve this program and provide all the code.

Program: Write a function that converts an input of some integer number of nickels into outputs of integer numbers of dollars, quarters, and nickels. 

Prepare a main function. Your function does not do cin or cout. Your function will have four parameters. Make sure you use appropriate parameter passing method!

Your function will be a void function. There are 5 nickels in a quarter, and 20 nickels in a dollar. For example, if the total number of nickels input is 27, the results are 1 dollar, 1 quarter, and 2 nickels.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a function that converts an input of some integer
Reference No:- TGS0957065

Expected delivery within 24 Hours