Hi, how are you doing rajkishor09. I a quotation in the C language , and I hope you can help me out.
1. Write a main function that prompts the user to input amount due (double amt_d), and
amount paid (double amt_p) in the unit of dollar, then calls a function change( ) whose
input parameters are amt_d and amt_p, and which outputs how many dollars, quarters,
dimes, nickles and pennies are given as change. For example, if amt_d = 3.14 dollars and
amt_p = 4 dollars, the change is 0 dollars, 3 quarters, and 1 cent. The main function
should print out the change in dollars, quarters, etc.
by anishvk8 years ago
when i started to learn c language i did not use the keywords like "clrscr" and "getch". Without it the programe did not run why?
by vinay sharma ji6 years ago
how we make a program in c language in which we first give two value and than if we press add...than vale add..if press multiply than multiply value if we press devide than devide value and give the result
by brian cruz8 years ago
5 function in C language(give at least 5) and their definition
by Seraph3 years ago
Hello Fellow Hubbers, I want to see it all in loads of languagesHow many various ways can you write the word one dollar? As in totals or in another language. For example:Four quarters equals one dollar.OrIn French: un...
Copyright © 2018 HubPages Inc. and respective owners.
Other product and company names shown may be trademarks of their respective owners.
HubPages® is a registered Service Mark of HubPages, Inc.
HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.