This video is all wrong. You can’t use a variable that is not yet declared:
“cin >> i;”
This line should be:
“cin >> age;” //Without quotes
This video is all wrong. You can’t use a variable that is not yet declared:
“cin >> i;”
This line should be:
“cin >> age;” //Without quotes