Odd or Even
Submit solution
C
Points:
10 (partial)
Time limit:
8.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Problem Statement
Given an integer, print whether it is odd or even
Sample Input
234
Sample Output
Even
Comments
include <stdio.h>
int main(){ int n; scanf("%d",&n); if(n%2==0){ printf("Even") } return 0; }
include <stdio.h>
int main(){ int n; scanf("%d",&n); if(n%2==0){ printf("Even") } return 0; }