Grade The Steel
A certain type of steel is graded according to the following conditions. 1. **Hardness** of the steel must be greater than 50 2. **Carbon content** of the steel must be less than 0.7 3. **Tensile strength** must be greater than 5600 The grades awarded are as follows: - Grade is 10 if all three conditions are met - Grade is 9 if conditions (1) and (2) are met - Grade is 8 if conditions (2) and (3
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start