1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main(void) { int score; printf("¼ºÀûÀ» ÀÔ·ÂÇϽÿÀ:"); scanf("%d", &score); if (score >= 60) // ¼ºÀûÀÌ 60Á¡ ÀÌ»óÀ̸é { printf("ÇÕ°ÝÀÔ´Ï´Ù.\n"); printf("ÀåÇбݵµ ¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù.\n"); } else // ±×·¸Áö ¾ÊÀ¸¸é { printf("ºÒÇÕ°ÝÀÔ´Ï´Ù.\n"); printf("´Ù½Ã µµÀüÇϼ¼¿ä.\n"); } return 0; } | cs |