Answers for "error: incompatible types: possible lossy conversion from double to int"

1

incompatible types: possible lossy conversion from double to int int y= Math.pow(q,ki);

int total2= (int) price*much*0.7; // put (int) in starting of the variable
Posted by: Guest on September-20-2021

Code answers related to "error: incompatible types: possible lossy conversion from double to int"

Browse Popular Code Answers by Language