this programme dont work as I want Help me!!
this is true output of programme /*4.3 (Conversion from kilograms to pounds) Write a program that displays the following table (note that 1 kilogram is 2.2 pounds):
Kilograms Pounds
1 2.2
3 6.6
...
197 433.4
199 437.8*/
but ı wrote
System.out.println("kilogram" + " pound");
for(int i=1;i<=199;i=i+2)
{
System.out.println(i + "" + i*2.2);
}
this is my output
1 2.2
3 6.6000000000000005
5 11.0
7 15.400000000000002
9 19.8
11 24.200000000000003
13 28.6
....
I didnt understand 6.60000000000005 instead of 6.6
or 15.400000000002 instead of 15.4