Answer to Question #640 in C++ for Ron
Question #640
Can you help me with this program?
// Date:
// Programmer:
// File:
// Description:
#include<iostream.h>
main()
{
int quitnum
int quarter, dime, nickel, penny;
// Enter number of pennies
cout << "Please enter the number of penny(ies) you have: ";
cin >> penny
// Get the amount of penny(ies) in other coin value
cout << "Quarter(s): " << quarter << endl;
cout << "Dime(s): " << dime << endl;
cout << "Nickel(s): " << nickel << endl;
cout << "Penny(ies): " << penny << endl;
// End program
cout << "Enter a 0 to quit program ";
cin >> quitnum;
return 0;
}
// Date:
// Programmer:
// File:
// Description:
#include<iostream.h>
main()
{
int quitnum
int quarter, dime, nickel, penny;
// Enter number of pennies
cout << "Please enter the number of penny(ies) you have: ";
cin >> penny
// Get the amount of penny(ies) in other coin value
cout << "Quarter(s): " << quarter << endl;
cout << "Dime(s): " << dime << endl;
cout << "Nickel(s): " << nickel << endl;
cout << "Penny(ies): " << penny << endl;
// End program
cout << "Enter a 0 to quit program ";
cin >> quitnum;
return 0;
}
Expert's answer
We can assist you with your assignment, just submit it to our site and our experts will help you. And, please, inform about the number of Your question while submitting. Thank You.
Need a fast expert's response?
Submit orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment