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' 했 하 확히 . ㅇㅠㅠ