Grade The Steel
CodeChefOpen on judge ↗
A certain grade of steel is graded according to the following conditions. - Hardness must be greater than 50. - Carbon content must be less than 0.7. - Tensile strength must be greater than 5600. The grades are as follows: - Grade is 10 if all three conditions are met. - Grade is 9 if conditions (i) and (ii) are met. - Grade is 8 if conditions (ii) and (iii) are met. - Grade is 7 if condit
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