Skip to main content
๐Ÿ“œ WAYPOINT LESSON

Checkpoint โ€” Hello, C#

โญ beginnerโณ 15 min read๐Ÿ“ Lesson 4 of 85

Prove the Module 1 contract: exact output, structure, and precision.

Checkpoint: prove the contract

One task covering the module: exact multi-line output with a computed value. A checkpoint is a pass/fail gate โ€” take it when you can solve it without looking back.

Task: implement program() so it prints a two-line receipt: line 1: CJ SNACKS (exact), line 2: the number total, where total is an int variable = 2 ร— 12 + 5 (declare it and compute it โ€” do not hard-code the answer).