Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Help me in this C task

0 votes
asked Oct 13, 2018 by Amr Mehana (150 points)

Create a program that prompts the user to enter an amount of money between 0 EGP and 10 EGP (floating point values allowed). Determine how many pounds (100 piasters), quarters (25 piasters), dimes (10 piasters), nickels (5 piasters), and pennies (1 piasters) are needed to make up that amount. Output this information to the screen; eg (7.42 EGP consists of 7 pounds, 1 quarter, 1 dime, 1 nickel and 2 pennies).

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.