My issue
My code
#include <stdio.h>
int main() {
int r;
int b;
r = 45;
b = 23;
if (r > b) {
printf("Rob Scored higher marks than Bob.\n");
}else if (r == b) {
printf("Bob & Rob both scored the same\n");
}
r=15;
b=15;
if (r > b) {
printf("Rob Scored higher marks then Bob.");
}else if (r == b) {
printf("Bob & Rob scored the same");
}
// your code goes here
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone