← All problemsSign in

Kah Khang wants to find out whether he met his targetted Grade Point of 3.9 for his End-of-Year Examination. Will you help him? (For those who are unsure of the computation, here are the details below) ``` 80 and above: 4.0 70 to 79: 3.6 65 to 69: 3.2 60 to 64: 2.8 55 to 59: 2.4 50 to 54: 2.0 45 to 49: 1.6 40 to 44: 1.2 Below 40: 0.8 ``` Write a program that takes in 1 integer value, A, and outpu

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start