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