Run id: 113961

Main.c: In function 'main':
Main.c:5:8: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d",&n);
        ^
Main.c:7:17: error: expected ')' before 'and'
  if (n % 3 == 0 and n % 5 == 0){
                 ^
Main.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^