Question: using assignment statements rather than input into the program. cost $21.17 and the amount tendered is $100.00 Bills twenty ten five one Coins quarter dime
using assignment statements rather than input into the program. cost $21.17 and the amount tendered is $100.00 Bills twenty ten five one Coins quarter dime nickel penny



Stegman Programming Series Ninth Edition Focus on Fundamentals of Programming with C About Microsoft Visual Studio Visual Studio License status License terms Microsoft .NET Framework Version 4.8.03761 2019 Microsoft Corporation. All rights reserved. Microsoft Visual Studio Community 2019 Version 16.4.5 2019 Microsoft Corporation. All rights reserved. Installed products: Visual C++ 2019 - 00435-60000-00000-AA023 ADL Tools Service Provider - 1.0 ASP.NET and Web Tools 2019 - 16.4.460.23317 ASP.NET Web Frameworks and Tools 2019 - 16.4.460.23317 Azure App Service Tools v3.0.0 - 16.4.460.23317 Azure Data Lake Node - 1.0 Azure Data Lake Tools for Visual Studio - 2.4.1000.0 Azure Functions and Web Jobs Tools 16.4.460.23317 Change Lab Construct a C program, change.c, which computes the min and coins needed to make change for a particular purchase is $21.17 and the amount tendered is $100.00. These value your program using assignment statements rather than input during program runtime. Your program should indicate how of each denomination are needed for the change. You should following denominations: inimum ase. The con es Shoot wt into the De w many bisan could make use Bills: twenty, ten, five, one Coins: quarter, dime, nickel, penny Your program should make use of integer division as well as the operator (8). Do not use subtraction in place of the modulus Ope it will be easier to convert the cost and amount tendered into pennie work with integers rather than doubles. All as the modulus dulus operator! Note pennies so you Use the following guidelines to develop your program: Declare your variables with appropriate data types. Assign values to your variables. Perform your calculations. Generate appropriate output. Points to Remember: Make sure you are creating a C program and not a C++ program. The .csu to your source code will invoke the C compiler while the .cpp suffix w the C++ compiler. As this is a class in C and not C++, please make sure source code uses the .c suffix. the .cpp suffix will invoke You should not be using any global variables in your program. A9 sa variable declared outside of main(). ocus on Fundamentals of Programming with C ir program. A global variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
