01: #include <stdio.h>
02:
03: int main(void)
04: {
05: int score, attendance;
06:
07: printf("Input score:");
08: scanf("%d", &score);
09: printf("Input attendance:");
10: scanf("%d", &attendance);
11:
12: if (score >= 60 && attendance >=10)
13: {
14: printf("Pass\n");
15: }
16: else
17: {
18: printf("Fail\n");
19: }
20:
21: return 0;
22: }