This commit is contained in:
암냥 2026-04-08 16:02:20 +09:00
commit d42448a9d0
No known key found for this signature in database
13 changed files with 187 additions and 0 deletions

14
03/sub02.c Normal file
View file

@ -0,0 +1,14 @@
#include <stdio.h>
int main() {
int price;
printf("제품의 가격을 입력하세요: ");
scanf("%d", &price);
printf("==== 영수증 ====\n");
printf("제품 가격: %d원\n", price);
printf("부가세: %d원\n", price * 10 / 100);
printf("최종 가격: %d원\n", price * 110 / 100);
printf("==============");
return 0;
}