Compilation failed.
Yes, these meant to be "T" and "H".
It tried this. But it does not run.
where (arr1=="T") arr1=="X"
write(*,*) arr1
elsewhere (arr1=="H") arr1=="T"
wirte(*,*) arr1
end where
Need help
please!
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(*,*)...
Hello,
I would like to define a two dimensional character array.
My program does not run! Please help me.
program exercise10
implicit none
character(1), dimension(3,3)::arr1=(/(/"a","b","c"/),(/"a","b","c"/),(/"a","b","c"/)/)
write(*,*) "Exersice10: ", arr1
end...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.