#include <stdio.h> int main() { int score; scanf("%d", &score); if(score >= 50) { } return 0; }
Standard input is empty
#include <stdio.h>
int main() {
int score;
printf("กรอกคะแนน: ");
scanf("%d", &score);
if(score >= 50) {
printf("ผ่าน\n");
}
printf("จบโปรแกรม");
return 0;
}