Lines 2, 3, 4: Add # at the beginning of each comment line. Line 9: Change to meter = input('Enter length in meters: ')
Do you wish to input another length in meters? Yes Enter length in meters: 0.0096 The length is 3 feet 3 inches. Do you wish to input another length in meters? No
Feet Inches Feet & Fraction Meters +-----+-------+----------------+---------+ | 3 | 3 | 3.25 | 0.9906 | +-----+-------+----------------+---------+Include other combinations of feet and inches that you feel will test all of the source code. For example, you need to test these cases for feet:
Feet Inches Feet & Fraction Meters +-----+-------+----------------+---------+ | 3 | 1 | 3.0833333 | 0.9398 | +-----+-------+----------------+---------+ | 5 | 9 | 5.75 | 1.7526 | +-----+-------+----------------+---------+ | 8 | 0 | | | +-----+-------+----------------+---------+ | 1 | 1 | | | +-----+-------+----------------+---------+ | 1 | 9 | | | +-----+-------+----------------+---------+ | 1 | 0 | | | +-----+-------+----------------+---------+ | 0 | 1 | | | +-----+-------+----------------+---------+ | 0 | 9 | | | +-----+-------+----------------+---------+ | 0 | 0 | | | +-----+-------+----------------+---------+Use these formulas to fill in the rest of the boxes:
Grading Breakdown: Error List: 20; Corrected Source code: 15, Test Plan: 15.