Case select season
Fortran
program main implicit none integer:: month read*,month print*,"enter the number of the Bengali month=",month select case(month) case(1:2) print*,"summer" case(3:4) print*,"rainy season" case(5:6) print*,"Autumn" case(7:8) print*,"late Autumn" case(9:10) print*,"winter" case(11:12) print*,"spring" case default print*,"you’ve entered an invalid month " end select end program main
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.