Skip to content

Instantly share code, notes, and snippets.

@Ansarina
Last active October 22, 2015 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ansarina/1881152b6e0ee540605a to your computer and use it in GitHub Desktop.
Save Ansarina/1881152b6e0ee540605a to your computer and use it in GitHub Desktop.
Program AddVector3D
Real,dimension(3)::A,B,C
Integer::i
Print "Please enter A1,A2,A3"
Read A
Print "Please enter B1,B2,B3"
Read B
Do i=1,3
C(i)=A(i)+B(i)
End Do
Print "C=", C
End Program
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment