-
-
Save Ansarina/148cf033e1f46710137f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program Add2Vector3DSimpleExample | |
Real,dimension(3)::A,B,C | |
Integer::i | |
Do i=1,3 | |
Print ‘Please enter A(‘, i , ‘)’ | |
Read A(i) | |
Print ‘Please enter B(‘, i , ‘)’ | |
Read B(i) | |
C(i)=A(i)+B(i) | |
Print ‘C(‘,i,’)=’, C(i) | |
End do | |
End Program |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment