#include <stdio.h>
int main() {
int a;
do{
printf("1.입력하기");
printf("2.출력하기");
printf("3.삭제하기");
printf("4.끝내기\n");
printf("작업할 번호를 선택하시오.");
scanf("%d", &a);
switch (a) {
case 1:
printf("\n입력하기를 선택히였습니다.");
break;
case 2:
printf("\n출력하기를 선택하였습니다.");
break;
case 3:
printf("\n삭제하기를 선택하였습니다.");
break;
case 4:
printf("\n끝내기를 선택하였습니다.");
break;
default:
printf("\n잘못입력하셨습니다.");
}
}while(a != 4);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: