include <iostream>
using namespace std;
int main()
{
int dollars,quarters,dimes,nickels,pennies;
cout << "Enter amount in dollars:" ;
cin >> dollars;
cout <<"your change is" << (dollars/.25) << "quarters"<<endl ;
}//end of code
do i need to add something to the end so that it doesn't close?
using namespace std;
int main()
{
int dollars,quarters,dimes,nickels,pennies;
cout << "Enter amount in dollars:" ;
cin >> dollars;
cout <<"your change is" << (dollars/.25) << "quarters"<<endl ;
}//end of code
do i need to add something to the end so that it doesn't close?