Question: IN C#, Rewrite problem 2(copy your solution from problem 2 and paste it into a separate file) and create a function called CalcAmount. This function
IN C#, Rewrite problem 2(copy your solution from problem 2 and paste it into a separate file) and create a function called CalcAmount. This function will take 4 integers for the change amount and convert that change into dollars. The dollar amount calculated will be passed back through the return statement, where the amount should be outputted in main. Note that to receive credit for this problem, you may ONLY have Console.Write and Console.Read statements in the main function. Refer to the output of Problem 1 for this problems output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
