#include <stdio.h>

int main() {
    int a;
    while(1){
        printf("number\n");
        scanf("%d",&a);
        if(a < 0 || a > 100) break;
        if(a >= 5){
            printf("positive integer\n");
        }
        else{
            printf("negative number\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: