#include <stdio.h>
int main() {
int attend;
printf("Attendance: ");
scanf("%d", &attend);
int ca;
printf("CA marks: ");
scanf("%d", &ca);
if (attend < 75 && ca < 40) {
printf("You're NOT allowed to take ETE\n");
}
else {
printf("You're allowed to take ETE\n");
}
return 0;
}
Comments
Leave a comment