#include <stdio.h>

int main() {
   //rintf("user is adult. \n"): printf("user is not adult. \n");
    int myNum;
    printf("enter myNum: \n");
    scanf("%d", &myNum);
    if(myNum < 0) {
        printf("negative.\n");
        if(myNum % 2 == 0) {
            printf("even \n");
        } else {
            printf("odd \n");
        }
    } else {
        printf("positive. \n");
        if(myNum % 2 == 0) {
        printf("even \n");
        } else {
            printf("odd \n");
        }
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: