Before i start i would just like to say this. If you are looking to learn c++, dont get "Learn to program with c++" by john smiley.
I have posted this two times already, but no one has actually explained the whole thing.
First part
Code:
for (int i = 0; i < morebankingbusiness.length(); i++)
What i get out of that is that the loop is called i and it starts at 0. As long as i is less than the length of morebankingbusiness then the interger i will increase 1. correct me if im wrong which i think i am.
Second part
Code:
float adjustment = 0;
char response[256];
string morebankingbusiness
I get that adjustment can be a decimal but i have no idea what "char response[256]" and "string morebankingbusiness" is.
Third part
further in the code there is this
Code:
cin.getline(response,256)
if strlen(response) == 0)...
what does that all mean.
Fourth part
Code:
else
if (atoi(response) <1...
what does that all mean.