23rd Sep 2020, 2:40 AM
Shubhankar Anand
Shubhankar Anand - avatar
6 Answers
+ 6
Your code have 4-5 mistakes float f=kkr.nextFloat(); see all this statements u forget to use round bracket And again check your conditions what u wrote.
23rd Sep 2020, 2:53 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 5
float a=2311; float b=1530; float c=1234; float d=5678; These Value 2311 ,1530... are double value and u assigned double Value to float variable a,b,c,d, if you will compare double with float Values' than float will loose some precision so it would be better if u will use double data type instead of float
23rd Sep 2020, 3:06 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Can u explain more
23rd Sep 2020, 2:42 AM
Abhay
Abhay - avatar
0
The program is not executing and showing it has many type of errors
23rd Sep 2020, 2:52 AM
Shubhankar Anand
Shubhankar Anand - avatar
0
Condition mistake can you explain more briefly
23rd Sep 2020, 2:57 AM
Shubhankar Anand
Shubhankar Anand - avatar
0
I'm not able to get up with the string
23rd Sep 2020, 2:58 AM
Shubhankar Anand
Shubhankar Anand - avatar