A vs B
CodeChefOpen on judge ↗
You are given the marks of student A and B out of 500. you have to calculate their percentage. if the percentage of student A is greater then B the print "A" without quotes else print "B". ###Input: - First line will contain $T$, number of testcases. Then the testcases follow. - For each testcase the first line contains an integer $A&B$, denoting the total marks of student A and stud
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