3. ¶
1. 대 리 .
:
:
1) 대 0 면 료
2) 대
3) 는 방 를 : ,
4)
2. 리 램 .2) 대
3) 는 방 를 : ,
4)
-
대 : 1000
: 500
- : 500
대 : 50~100
: 80~100
: 50~150
: 80~100
: 50~150
4. ¶
- : 는 F4(ThreeFs + Future Action Plan) 맞 .
- : ThreeFs, ThreeFs(노모), FiveFs(노모)
- 링를 눌러보 명
- Facts, Feelings, Findings, Future Action Plan. , , 느낀 , , .
- 를 들 돈를 먹 대 를 면 : " 남 5만는 돈를 먹.() 대를 는데 맛 .(느낌) 남 만 보 맛 대면 는 .() 는 미리 보 높 돈 봐.( )"
- Facts, Feelings, Findings, Future Action Plan. , , 느낀 , , .
- : ThreeFs, ThreeFs(노모), FiveFs(노모)
5. ¶
#include<stdio.h> #include<time.h> #include<math.h> #include<stdlib.h> void main(){ int Sundae = 1000; int Player = 500; int sundaeattack; int userkick; int userpunch; int user_attack_type; printf("대 리 start!\n"); printf("대 : %d\n",Sundae); printf(" : %d\n",Player); printf("대 \n"); srand((unsigned)time(NULL)); while(Sundae>=1){ sundaeattack = rand()%101+50; Player - sundaeattack; printf("Player는 %d 데미를 .\n",sundaeattack); printf("User 방 : Punch = p , Kick = k : \n"); scanf("%c",&user_attack_type); for(Player;Player<=0;) { if(user_attack_type == 'p'){ userpunch = rand()%101+80; Sundae - userpunch; printf("User %d 데미를 .\n",userpunch); } if(user_attack_type == 'k'){ userkick = rand()%151+50; Sundae - userkick; printf("User %d 데미를 .\n",userkick); } continue; } if(Sundae <= 0 && Player <= 0){ printf(" \n"); break; } else if(Sundae <= 0){ printf("대를 E !!EE!!\n"); break; } else if(Player <= 0){ printf("대 \n"); break; } } printf(" 료!..\n"); system("pause"); } 문는 for문 .... 무루 ... 뭔... continue switch case 'p' 받 는 모르. ㅇ