TOPPER
Problem Description
Raju and Smirthi are classmates. Smirthi will be the class topper for all the times. This time Raju tried to get more in all the subjects. The topper will be decided based on the total value. Your task task is to choose the large total value.
CODING ARENA::
#include <stdio.h>
int main()
{
int a,b;
scanf("%d\n%d",&a,&b);
if(a>b)
printf("%d",a);
else
printf("%d",b);
return 0;
}
Test Case 1
Input (stdin)400
455
Expected Output
455
Test Case 2
Input (stdin)300
438
Expected Output
438
No comments:
Post a Comment