← All problemsSign in

Attendance status

Problem : Attendance is very important for any student to take a semester exam. So your task is to make a program that can display the status. Given the number of classes attended($NA$) and a total number of classes conducted($NC$). Let $P$ be the percentage of attendance. Its status needs to be printed as below. . $90 \leq P \leq 100$=Very Good $80 \leq P \leq 89$=Good $75 \leq P \leq 79$=A

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