public class MyClass {
public static void main(String args[]) {
int n,h,w,i;
double t;
h = 40;
w = 5;
i = 2;
t = 0.22;
n=(h*w-i)-t*(h*w-i);
System.out.println(n);
}
}
On line 13 it says"/MyClass.java:9: error: incompatible types: possible lossy conversion from double to int n=(hw-i)-t(h*w-i);", What does it mean by that, and how do I fix it?