Complete all seven questions. Questions 1–2 recap decisions and arithmetic. Questions 3–7 assess loop counters, a computed sentinel with break, a running total, count by condition, and nested table building. Use only the fixed given values and produce the exact output shown.
Each question ends with a Real version note showing how the program can read its values with input().