#include <stdio.h> int main() { int marks; printf("enter marks(0-100) \n"); scanf("%d", &marks ); marks >=30 ? printf("pass \n"): printf("fail \n"); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: