Help me in solving CLB067 problem

My issue

include <stdio.h>

int main(void) {
int b=23,r=45;
if(r>b){
printf(“Rob Scored higher marks than Bob.”);
}
else if(r==b){
printf(“Bob & Rob both scored the same”);
}
int bob=15,rob=15;
if(rob>bob){
printf(“Rob scored higher marks than bob.”);
}
else if(bob==rob)
{
printf(“Bob & Rob both scored the same”);
}
// your code goes here
return 0;
}

My code

#include <stdio.h>

int main(void) {
    int b=23,r=45;
    if(r>b){
        printf("Rob Scored higher marks than Bob.");
    }
    else if(r==b){
        printf("Bob & Rob both scored the same");
    }
    int bob=15,rob=15;
    if(rob>bob){
        printf("Rob scored higher marks than bob.");
    }
    else if(bob==rob)
    {
        printf("Bob & Rob both scored the same");
    }
	// your code goes here
	return 0;
}


Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone

@piyushgupta010
u have to print the statements in separate lines .
so u have u put “\n”;
like this

#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 than Bob.");
  } else if (r == b) {
    printf("Bob & Rob both scored the same");
  }
  
  return 0;
}