PPT Slide
Some more flexibility...
skipping stmnts
cycle
discontinues execution of the do block. remaining stmnts are skipped.control returns to the beginning of the loop.
do
write (unit=*,fmt=*) “enter month”
read (unit=*,fmt=*) Month
if (Monthᡄ) .or. (Monthə) then
cycle
else
exit
end if
end do
Previous slide
Next slide
Back to first slide
View graphic version