Its causing me to put in endless input, never outputting anything from the loop, any ideas? I am also going to be spooling out the output, so i know some of it looks unorganized, i just want it to be outputting the right thing before i set up the spool.
int main()
{
double avgCost, cHours, cost, SSN, students, y, addAmt;
char instate;
cout << "How many students do you have to input?";
cin >> students;
cout << "Please input you social security number, followed by a y\n(for if you live instate)";
cout << "or a n (for if you live out of state),\nand finally type in your credit hours.\n";
y = 0;
avgCost = 0;