View Code of Problem 20

#include "stdio.h"
#include "string.h"
#include "ctype.h"
#include "math.h"
int main()
{
	int n,i;
	while(scanf("%d",&n)!=EOF)
	{
	
		if(n%3!=0)
		  printf("YES\n");
		else
		  printf("NO\n");
	}
    return 0;
}a
/*
Main.c: In function 'main':
Main.c:7:8: warning: unused variable 'i' [-Wunused-variable]
  int n,i;
        ^
Main.c: At top level:
Main.c:17:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
 }a
 ^
*/

Double click to view unformatted code.


Back to problem 20