Bookmark Topic Watch Topic
  • New Topic

can anyone pls help me  RSS feed

 
Sheetal Malhotra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hii all...
Hope you all are doing great.
I am actually trying to read an input text file. The file has some points, with each line having only one point. Like:
(1.0,1.0)
(0.0,2.0)
(1.0,2.0)
(1.0,0.0)
and so on.
I want to read and store them one by one, then add one with the another so that I will be able to get an output (3.0,5.0) which I get by adding all the points.

Now I am able to read the points from a file. But I could not store them add them one with the other. can anyone help me with this issue.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!