Write a C program that asks the user for an integer from 0-99. Then create a function
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a C program that asks the user for an integer from 0-99. Then create a function that prints out the least amount of: quarters, dimes, nickels and pennies, which can be used to sum to the inputted value.
For example if the user enters 77. The output would be 3 quarters and 2 pennies. If the user enters an invalid number continue to ask till a valid number is entered.
Related Book For
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord
Posted Date: