exercise

Akilaeaswari · September 16, 2020 · C
#include <stdio.h>
int main()
{
    int numper;
    printf("Enter the odd or even numper\n");
    scanf("%d",&numper);
    
    if(numper%2 ==0)
    printf("%d is an even numper",numper);
    else
    printf("%d is an odd numper",numper);
    return 0;
    
}

Comments

Please sign up or log in to contribute to the discussion.