A vs B solution codechef
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: A vs B solution codechef
- First line will contain , number of testcases. Then the testcases follow.
- For each testcase the first line contains an integer , denoting the total marks of student A and student B.
Output: A vs B solution codechef
For each testcase, output in a single line answer containing the name of student who scored more percentage.