getline problemsThe reason why it is not asking you for an input is that you are mixing cin and getline statements.
function call error!Rewrite the for loop as
for( int year=1; year<=numyears; year++)
while loop using charHello,
First of all, please get in the habit of indenting your code when appropriate, it makes it m...
constI am not sure I am understanding the question correctly.
Do you want to create a constant variable,...