Put the section's pieces together in a small announcement for a community workshop. The card needs a heading and the number of available places. Fixed text belongs inside quotes; a count belongs in an integer variable.
A similar card for a different activity could be written like this:
#include <iostream>
int main() {
int seats = 8;
std::cout << "Poetry circle" << "\n";
std::cout << "Seats: " << seats << "\n";
return 0;
}
The name seats describes the data, while "Seats: " is the label shown to a reader. Those two pieces have different jobs, even though their words are similar. The label includes a space after the colon. Each output statement ends its own line.
For your card, the starter already declares places and prints its value. Task 1 belongs below that declaration, where the heading must appear before the count line. Task 2 takes you back to the declaration to replace its temporary zero. The task numbers on the TODO comments show these two edit locations; they need not appear in numerical order in the source.
Run after the first change if you want to see the card take shape. The count will still be zero until you complete the second change. That is expected: a working program can be unfinished without being broken.
Community workshop followed by a newline.places to 24 so the supplied second line reads Places: 24.Edit main.cpp, press Run to inspect the Console, then Submit to check these results.
You have completed this section’s practical program. Continue to the section quiz to check the ideas behind it.