INF 231 Week 5 Assignment Final Project
in Computers by vomms
Favorite
Add it to your favorites and revisit later
Instant Download
Previewing 1 of 5 total pages.
Regular Price: $22.84
Your Price: $15.99 (30% discount)
You Save: $6.85
Your Price: $15.99 (30% discount)
You Save: $6.85
Description
INF 231 Week 5 Assignment Final Project
include iostream
includestring
using namespace std;
// global constants are declared above main
int QUARTER 25,
DIME 10,
PENNY 1,
NICKEL 5,
DOLLAR 100;
int main()
{
// items in input and output are both declared as variables
// variables are declared within a function
string option, yes("y");
int moneyValue;
int remainder;
int quarter1, nickel1,penny1, dime1, quarter2, nickel2,penny2, dime2,quarter3,nickel3,penny3, dime3;
int quarter4 0, nickel4 0,penny40, dime40;
int counter 0, amt 10; // you can change the value of amount to any amount you choose to make the loop continue
cout "\nMoney Conversion Program\n";
do
{
cout "Input Money Amount : ";
cin moneyValue;
if(moneyValue1)
{
...
Comments (0)
You must sign in to make a comment.
Rating:
Published On:
08/03/2014
Print Length:
5 page(s)
File Name:
inf-231-week-5-assignment-final-project-6.docx
File Size:
16.44 KB (0.02 MB)
Sold By:
vomms
Purchased:
0 times
Best Seller Ranking:
#43713