📄 ex0712.f90
字号:
program ex0712
implicit none
integer :: i
real :: income(10)=(/ 25000, 30000, 50000, 40000, 35000, &
60000, 27000, 45000, 28000, 70000 /)
real :: tex(10)=0
where( income < 30000.0 )
tex = income*0.10
elsewhere( income < 50000.0 )
tex = income*0.12
elsewhere
tex = income*0.15
end where
write(*,"(10(F8.1,1X))") tex
stop
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -