Pure Programmer
Blue Matrix


Cluster Map

Project: I Love My Town (Revisited)

Write a program that prints the message "I 💜 YourHomeTown!" followed by the message "I 💔 SomeOtherTown!" Assign each town and the emojis 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.

Broken Heart Emoji: U+1F494
Purple Heart Emoji: U+1F49C

Output
$ g++ -std=c++17 ILoveMyTown2.cpp -o ILoveMyTown2 -lfmt $ ./ILoveMyTown2 I 💔 Saint Louis! I 💜 East Saint Louis!

Solution