?????? - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

??????

Description:

... enzan, b, kekka, amari); else printf( %d%c%d=%d ,a, enzan, b, kekka ); ... – PowerPoint PPT presentation

Number of Views:18
Avg rating:3.0/5.0
Slides: 20
Provided by: HiroshiN2
Category:
Tags: amari

less

Transcript and Presenter's Notes

Title: ??????


1
?????????
  • ?????????III!!

2
C?????
  • ??????????????????
  • ????????????
  • 5/2???????????
  • ???5/22??????????
  • ??????????!!
  • ???????????????????????????????????
  • ?????
  • 5/22???1 ???? 5/22.5
  • ????????????

3
C???????????????????????????
4
C???????????????????????????
???????!!
enzan
a
b
kekka
5
C???????????????????????????
???????!!
enzan
a
b
kekka
6
C???????????????????????????
???????!!

?

/
enzan
a
b
7
3
10
2
kekka
7
C???????????????????????????
???????!!
/
2
enzan
a
kekka
b
8
C?????????5/22?????
/
2
enzan
a
b
kekka
9
C????????????
  • ??????????????
  • ??(??)?????????????amari?????????
  • /?????????????????????????
  • ?kekka a / b
  • ?amari a b
  • ?????????????????????
  • ????????????????????/???????????????????????????
    ?
  • ????
  • ????enzan??/????
  • 5/22???1?????
  • ????????
  • ???????????

10
C????????????
  • ????
  • ????enzan??/????
  • 5/22???1?????
  • ?if(enzan /)
  • ?printf(dcddd,a, enzan, b, kekka,
    amari)
  • ????????
  • ?else
  • ???????????
  • ?printf(dcdd,a, enzan, b, kekka)

11
C????????????
???????????????? ??????????
  • ????
  • ????enzan??/????
  • 5/22???1?????
  • ????????
  • ???????????

12
ifelse if???????(???????)
??
????enzan?? ????
??
No
Yes
?kekka???a??b????
???? -????
No
Yes
??
?kekka???a?-?b????
??
13
ifelse???????(???????)
??
??
??
????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????????!! ????????????????????????
???
??
15
C?????????5/22?????
/
2
enzan
a
b
kekka
16
C???????????????????
???????????????? ?3-2??????????????????
17
C???????????????????
???????????????????????????!!
?????????????????????????????????
18
??4
  • ???????????-????????/?????enzan??????????
    ???????
  • ???????????????????????????????
  • ???????????????
  • ???????????????????????????????????(??????????)
  • ???
  • ?????????????????????(4-1)????????
  • ?if?????(?enzan????-???)???????
  • ?if( enzan enzan -)????????????
    Shift???????????????????????

19
??4???(?????????????????)
  • ???(????)
  • 1.if???????????enzan????-????/???????
    ???????????????
  • 2.???????(else???)?????????????????????

?????ifelse????
????1if( ?enzan????-????/??) ????2
else ??????????????????
Write a Comment
User Comments (0)
About PowerShow.com