i rewrote my program a bit, but it still is kinda freaking out.
but at least i dont have the errors anymore. unfortunetly my progam doesnt run right after the quaters. and i always have an extra penny.
//this program calculates the number of quarters,
// dimes and nickles and pennies are nessasary to
//generate the number of cents imputed
#include <iostream.h>
#include<string.h>
main()
{
double toBeChanged;
int numberOfDimes, numberOfQuarters, numberOfNickels, numberOfPennies;
cout << " I will show you how many quarters, dimes, nickels, and \npennies needed to make the amount. \nHow much money do you have? (i.e. 1.25)" << '\n';
cin >> toBeChanged;
cout << "For "<< toBeChanged << " you will need:"<<'\n';