• 検索結果がありません。

2013b 12 break continue switch

N/A
N/A
Protected

Academic year: 2018

シェア "2013b 12 break continue switch"

Copied!
4
0
0

読み込み中.... (全文を見る)

全文

(1)

返し文 ループ 二重 場合 break ループをひ だけ抜けます

while(…){ while(…){ if(…){ break; } }

// break ここ 始ま

}

29

(2)

E:¥myc>notepad hellobreakcontinue.c E:¥myc>cl hellobreakcontinue.c

/out:hellobreakcontinue.exe hellobreakcontinue.obj

E:¥myc>hellobreakcontinue.exe

0 数値を入力( 10 0 終了):1 0 数値を入力( 9 0 終了):2 0 数値を入力( 8 0 終了):3 0 数値を入力( 7 0 終了):0 合計:6

E:¥myc>hellobreakcontinue.exe

0 数値を入力( 10 0 終了):-1 0 数値を入力( 10 0 終了):5 0 数値を入力( 9 0 終了):4 0 数値を入力( 8 0 終了):3 0 数値を入力( 7 0 終了):0 合計:12

30

(3)

31

(4)

switch 機能 if カバー ます

32

Z:¥myc>notepad helloswitch.c Z:¥myc>cl helloswitch.c

/out:helloswitch.exe helloswitch.obj

Z:¥myc>helloswitch.exe 1-3? : 1

A

Z:¥myc>helloswitch.exe 1-3? : 2

B

Z:¥myc>helloswitch.exe 1-3? : 5

Z

Z:¥myc>helloswitchif.exe 1-3? : 1

A

Z:¥myc>helloswitchif.exe 1-3? : 2

B

Z:¥myc>helloswitchif.exe 1-3? : 5

Z

参照

関連したドキュメント

The information herein is provided “as−is” and onsemi makes no warranty, representation or guarantee regarding the accuracy of the information, product features,

Application Directions: Heritage Fungicide applications should begin prior to disease development and continue throughout the season every 12-14 days following the resistance

また、同法第 13 条第 2 項の規定に基づく、本計画は、 「北区一般廃棄物処理基本計画 2020」や「北区食育推進計画」、

[r]

○○でございます。私どもはもともと工場協会という形で活動していたのですけれども、要

Core reset: tertiary winding, RCD clamp, 2-switch forward 3.. Closed-loop feedback: simulations and

Its operation can be better understood when it is broken into two time periods: when the power switch is turned on and turned off. When the power switch is turned on, the input

R/W 0x00 Timing Delay between Audio ground switch enable and L switch enable control [7:0].. 11H