<CASE Example Program>
Program case_example Integer :: i Read *, i Case (1) Print *, 'one' Case (2) Print *, 'two' End Program
<Example input 1>
1
■ Execution Results
one
<Example input 2>
2
■ Execution Results
two
Program case_example Integer :: i Read *, i Case (1) Print *, 'one' Case (2) Print *, 'two' End Program
1
one
2
two