#include <stdio.h>

int main() {
    int marks;
    printf("enter marks(0-100) \n");
    scanf("%d", &marks );
    if (marks <= 30){
        printf ("fail\n");
    
    }
    else if ( marks >30 && marks <= 100)
   { printf(" pass");}
    else { printf(" wrong marks");
    }
    return 0;
}

Embed on website

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