Odd or Even


Submit solution

Points: 10 (partial)
Time limit: 8.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
C

Problem Statement

Given an integer, print whether it is odd or even

Sample Input

234

Sample Output

Even


Comments


  • 0
    yuvapraneeth  commented on May 9, 2023, 3:28 p.m.

    include <stdio.h>

    int main(){ int n; scanf("%d",&n); if(n%2==0){ printf("Even") } return 0; }


  • 0
    yuvapraneeth  commented on May 9, 2023, 3:28 p.m.

    include <stdio.h>

    int main(){ int n; scanf("%d",&n); if(n%2==0){ printf("Even") } return 0; }