Pure Programmer
Blue Matrix


Cluster Map

Project: I Love My Town

Write a program that prints the message "I love YourHomeTown!" followed by the message "I hate SomeOtherTown!" Assign town into their own variables. Then use string concatenation to form the two messages and store them in variables as well. Then print out the message variables.

Output
$ g++ -std=c++17 ILoveMyTown1.cpp -o ILoveMyTown1 -lfmt $ ./ILoveMyTown1 I love Saint Louis! I hate East Saint Louis!

Solution