Checkpoint: Your First Program
beginner40 min readLesson 5 of 180
From empty file to formatted, running program — the compile-run loop as a finished artifact.
This checkpoint proves you can take a program from nothing to running.
The task — Personal Introduction Program. Print a short, well-formatted introduction of yourself:
- A header line:
=== ABOUT ME === - At least three fact lines in the form
key: value— for examplename: Thao,goal: build Android apps,favorite number: 7. Thefavorite numbermust come from anintvariable; the key names are up to you but every line must contain a colon followed by a space. - A footer line:
=================
Format the number with %d (or simple concatenation). The grader checks the
header, the footer, that at least three lines contain ": ", and that one
of them ends with your favorite number. Everything else is your personality.