Hello,
thanks a lot for your help. Now I have to apply rules.
All (T) are marked become (X).
All h(H) become (T)
Why it does not run?
Here is my code:
program exercise10
implicit none
character,dimension(3,3)::arr1=reshape((/"#","#","T","#","H","T","#","#","#"/),(/3,3/))
write(*,*) "Exersice10: ", arr1
where (arr1=T) arr1="X"
write(*,*) arr1
elsewhere (arr1=H) arr1="T"
wirte(*,*) arr1
end where
end program exercise10
thanks a lot for your help. Now I have to apply rules.
All (T) are marked become (X).
All h(H) become (T)
Why it does not run?
Here is my code:
program exercise10
implicit none
character,dimension(3,3)::arr1=reshape((/"#","#","T","#","H","T","#","#","#"/),(/3,3/))
write(*,*) "Exersice10: ", arr1
where (arr1=T) arr1="X"
write(*,*) arr1
elsewhere (arr1=H) arr1="T"
wirte(*,*) arr1
end where
end program exercise10