Akshay Kumaar

Akshay Kumaar

  • NA
  • 2
  • 877

read coordinates (x,y) of 5 point from a file

Mar 4 2019 9:15 AM
Write a program that read coordinates (x,y) of 5 points in the file (week4Q4_input).
i need some help on how to extract these X,Y columns from file to my program for calculations and get them in float form. 
 
 week4Q4_input file content:
 
         X     Y 
A    1.2   3.6
B    1.8   2.9
C    3.6   5.7 
D    9.9   7.3
E    9.2   3.2 

Answers (1)