simple question.

simple question.

All the souse code has been attached, Please make some changes to the code to meet the requirement(see attachment).

ClusterPointGUI

The current code can read the file which is:

2 4 Cluster1
6 8 Cluster2
7 8 CLuster2
3 4 Cluster1
2 5 CLuster1
3 5 Cluster1
7 9 Cluster2
2.5 4.5 Cluster1
6.5 8.5 Cluster2
5.5 3.5 Cluster3
5.7 4.1 Cluster3
6.2 2.5 Cluster3
6 2.5 Cluster3
2.3 8 Cluster4
3.0 7.8 Cluster4
1.8 7.2 Cluster4
2.5 8.2 Cluster4
5.8 3.3 Cluster3
5.6 2.8 Cluster3
1.5 7.5 Cluster4

if I change the number to X.XXX it said

Error while reading line from the file. java.lang.NumberFormatException: For input string: “1.003 5.007 Cluster1”

I want that can be fixed.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper