Revision
4. Exercise 2

Instruction

Very well. Let's move on.

Exercise

Mensa created a dating website for its members. We need to anonymize the user data before they go on their first date.

For each person, show the following sentence: XYZ lives in A and weighs B kilograms. XYZ are the initials, A is the city and B is the weight rounded to integer numbers.

Don't forget about the dot at the end of the sentence!

Console

Code editor

Result

TableConsole