/*#include <stdio.h>

int main(void)
{
    char grade;
    char name[20];

    printf("학점 입력:");
    scanf("%c", &grade);
    printf("이름 입력:");
    scanf("%s", name);
    printf("%s의 학점은 %c입니다.\n", name, grade);

    return 0;
    
} */ 



#include <stdio.h>

int main(void)
{

    char bloodtype;
    char name[30];

    printf("혈액형을 입력하세요:");
    scanf("%c", &bloodtype);
    printf("이름을 입력하세요:");
    scanf("%s", name);

    printf("%s의 혈액형은%c입니다.", name, bloodtype);

    return 0;
   
    
}  
















Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: