C Saved Program: gifted-life

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.


#include <stdio.h>

int main(void) {
    int id;
    char name[16];

    printf("당신의 이름을 입력하세요 : \n");
    scanf("%s", name);
    printf("당신의 학번을 입력하세요 [00~99] : \n");
    scanf("%d", &id);
    printf("당신은 %s이며 %02d학번입니다.\n", name, id);

    return 0;
}
Execute

Output

Press the execute button or CTRL + enter to run code.

Inputs