#define _CRT_SECURE_WARNING
#include <stdio.h>
int main()
{
int korean;
int english;
int mathematics;
int science;
scanf("%d %d %d %d", &korean, &english, &mathematics, &science);
if(korean >= 0 && korean <= 100 && english >= 0 && english <= 100 && mathematics >= 0 && mathematics <= 100 && science >= 0 && science <= 100 &&
korean + english + mathematics + science) / 4 >= 85)
printf("합격\n");
else if(korean < 0 || korean > 100 || english < 0 || english > 100 || mathematics < 0 || mathematics > 100 || science < 0 || science > 100)
printf("잘못된 점수\n");
else
printf("불합격\n");
return 0;
}
아까 알려주신 분 껄로 바꿨는데 이ㄹㅓㅎ게 하면 돼요 ? ? ? ? ?
아 해결됬어요 ㄱㅅ