Section 9: Program Interruptions149
Start
Prompt & stop
to key in radius
Calculate A = 2πr2
Pause to display A
Prompt & stop
to key in height
Calculate V = A×h
Pause to display V
Prompt & stop to
key in number of cans
Calculate Total Volume =
V×n
Stop