Variables
Lesson 6Author : 🦒
Last Updated : November, 2017
cout << "There once was a man named " << characterName << endl; cout << "He was " << characterAge << " years old" << endl; cout << "He really liked the name " << characterName << endl; cout << "But didn't like being " << characterAge << endl;
cout << "There once was a man named " << characterName << endl; cout << "He was " << characterAge << " years old" << endl;
characterAge = 80;
cout << "He really liked the name " << characterName << endl; cout << "But didn't like being " << characterAge << endl;
Names are case-sensitive and may begin with: letters, _ After, may include letters, numbers, _ Convention says Start with a lowercase word, then additional words are capitalized ex. myFirstVariable