Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Its an exact change program but the output is not right. I don't know whats wrong in it. Can somebody please help me with program. #include <iostream> using namespace std; int main () { int twenties, tens, fives, singles, quarters, dimes, nickles, pennies; double purchase, pay, rempay=0; cout<< "please enter … |
|
Write a program that will prompt the user for a purchase amount. If this bill amount is valid, then prompt the user again for the payment amount. If this is valid then compute the change to be returned. This amount should be displayed in pennies, nickels, dimes, quarters, single dollar … |