All the souse code has been attached, Please make some changes to the code to meet the requirement.
1.TaxManagementSystem:
The current out put is
==================================================================
| MENU SELECTION |
==================================================================
| Options: |
| 1. Calculate Tax |
| 2. Search Tax |
| 3. Exit |
==================================================================
Select an option:
>>>
1
Enter the Employee ID:
>>>
1111
Enter the taxable income:
>>>
100000
Tax is: 24632.0
I want the tax output is 24497.00. The formurla is attached.
2.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.


0 comments