#include #include using namespace std; int main() { int amount, five, one; cout << "Amount="; cin >> amount; five = amount/5; one = amount-amount /5*5; cout << "Number of $5 coin = " << five << endl; cout << "Number of $1 coin = " << one << endl; system("PAUSE"); return 0; }