Title: ??????
1?????????
2C?????
- ??????????????????
- ????????????
- 5/2???????????
- ???5/22??????????
- ??????????!!
- ???????????????????????????????????
- ?????
- 5/22???1 ???? 5/22.5
- ????????????
3C???????????????????????????
4C???????????????????????????
???????!!
enzan
a
b
kekka
5C???????????????????????????
???????!!
enzan
a
b
kekka
6C???????????????????????????
???????!!
?
/
enzan
a
b
7
3
10
2
kekka
7C???????????????????????????
???????!!
/
2
enzan
a
kekka
b
8C?????????5/22?????
/
2
enzan
a
b
kekka
9C????????????
- ??????????????
- ??(??)?????????????amari?????????
- /?????????????????????????
- ?kekka a / b
- ?amari a b
- ?????????????????????
- ????????????????????/???????????????????????????
? - ????
- ????enzan??/????
- 5/22???1?????
- ????????
- ???????????
10C????????????
- ????
- ????enzan??/????
- 5/22???1?????
- ?if(enzan /)
- ?printf(dcddd,a, enzan, b, kekka,
amari) - ????????
- ?else
- ???????????
- ?printf(dcdd,a, enzan, b, kekka)
11C????????????
???????????????? ??????????
- ????
- ????enzan??/????
- 5/22???1?????
- ????????
- ???????????
12ifelse if???????(???????)
??
????enzan?? ????
??
No
Yes
?kekka???a??b????
???? -????
No
Yes
??
?kekka???a?-?b????
??
13ifelse???????(???????)
??
??
??
????enzan?? /????
No
Yes
????5/25???1????
????5210????
??
14?????(???????)???
??
??
????enzan?? ????
No
????enzan?? /????
No
Yes
Yes
?kekka???a??b????
????5/25???1????
???? -????
No
????5210????
Yes
??
?kekka???a?-?b????
if?else if?else????????!! ????????????????????????
???
??
15C?????????5/22?????
/
2
enzan
a
b
kekka
16C???????????????????
???????????????? ?3-2??????????????????
17C???????????????????
???????????????????????????!!
?????????????????????????????????
18??4
- ???????????-????????/?????enzan??????????
??????? - ???????????????????????????????
- ???????????????
- ???????????????????????????????????(??????????)
- ???
- ?????????????????????(4-1)????????
- ?if?????(?enzan????-???)???????
- ?if( enzan enzan -)????????????
Shift???????????????????????
19??4???(?????????????????)
- ???(????)
- 1.if???????????enzan????-????/???????
??????????????? - 2.???????(else???)?????????????????????
?????ifelse????
????1if( ?enzan????-????/??) ????2
else ??????????????????