// If you are not sure what some lines of code do, try looking back at
// previous example programs, or email a question.
// This header file allows the use of the string data type.
#include <string>
using namespace std;
int main() {
// This declares an integer variable with the identifier "userAge"
int userAge;
// This line sets userAge to contain the integer value 34
userAge = 34;
// This line sets userAge to contain the integer value 23, overwriting
// the previous value, 34
userAge = 23;
// This line declares a character value with the identifier letterInput
// and initializes it to hold the value 'c'
char letterInput = 'c';
// Finally, this line declares a string value with the identifier address.
// Note that "string" is not highlighted. Only the fundamental data types
// are highlighted in your editor. Additionally, the value is initialized
// with a string literal.
string address = "1234 Nowhere St. Las Vegas, NV";
return 0;
}
Ly8gSWYgeW91IGFyZSBub3Qgc3VyZSB3aGF0IHNvbWUgbGluZXMgb2YgY29kZSBkbywgdHJ5IGxvb2tpbmcgYmFjayBhdAovLyBwcmV2aW91cyBleGFtcGxlIHByb2dyYW1zLCBvciBlbWFpbCBhIHF1ZXN0aW9uLgoKLy8gVGhpcyBoZWFkZXIgZmlsZSBhbGxvd3MgdGhlIHVzZSBvZiB0aGUgc3RyaW5nIGRhdGEgdHlwZS4KI2luY2x1ZGUgPHN0cmluZz4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKICAgCiAgIC8vIFRoaXMgZGVjbGFyZXMgYW4gaW50ZWdlciB2YXJpYWJsZSB3aXRoIHRoZSBpZGVudGlmaWVyICJ1c2VyQWdlIgogICBpbnQgdXNlckFnZTsKICAgCiAgIC8vIFRoaXMgbGluZSBzZXRzIHVzZXJBZ2UgdG8gY29udGFpbiB0aGUgaW50ZWdlciB2YWx1ZSAzNAogICB1c2VyQWdlID0gMzQ7CiAgIAogICAvLyBUaGlzIGxpbmUgc2V0cyB1c2VyQWdlIHRvIGNvbnRhaW4gdGhlIGludGVnZXIgdmFsdWUgMjMsIG92ZXJ3cml0aW5nIAogICAvLyB0aGUgcHJldmlvdXMgdmFsdWUsIDM0CiAgIHVzZXJBZ2UgPSAyMzsKICAgCiAgIC8vIFRoaXMgbGluZSBkZ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