CodeField

Make a choice

Task 3 of 6

Find the bug

A mark of 70 or more should print A, 60 to 69 should print B, and anything lower should print Below B. A mark of 70 prints the wrong grade. Tap the line at fault, then choose a fix.

Input: 70.

  1. B

It should print:

  1. A

Tap the line at fault

Tips

  • Compare what the program printed with what it should print.
  • Follow the program with the test's input until it first goes wrong.