My solution for CNDD7 problem is being marked as wrong. Can you please let me know why?

My issue

My code

#include <stdio.h>
#include <stdlib.h>

int main( void )
{
    int a = 15;
    int b = 35;
    if ( ( ( a % 7 == 0 ) && ( a % 5 == 0 ) ) && ( ( b % 5 == 0 ) && ( b % 7 == 0 ) ) )
    {
      puts( "The number is divisible by both 5 & 7" );
    }
    else
    {
      puts( "The number is not divisible by both 5 & 7" );
    }
  return EXIT_SUCCESS;
}

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

@ramumsrk1981
u have to calculate for both a and b separately .
like this

#include <stdio.h>

int main() {
  int a;
  int b;
  a = 15;
  b = 35;
  if (a%7 == 0 && a%5 == 0 ) {
    printf("The number is divisible by both 5 & 7 \n");
    }  
    else {
    printf("The number is not divisible by both 5 & 7 \n");
    }

    if (b%7 == 0 && b%5 == 0 ) {
    printf("The number is divisible by both 5 & 7 \n");
    }  
    else {
    printf("The number is not divisible by both 5 & 7 \n");
    }
  return 0;
}

Thanks a lot @dpcoder_007