I'm learning Java online and I'm having trouble with this. I know it might have something to do with the BigDecimal Class but other than that I'm not sure. Sorry for poor indentation.
public class Practice {
public static void main(String[] args) {
double b = 1.3333;
int c = 4, d = 3;
final double TOLERANCE = 0.001;
/*** TODO: Write an if statement to serve as the header for the conditional block below.
Execute the first block if the floating point outcome of c divided by d is
within the given TOLERANCE of b. ***/
{
System.out.println("Value within the tolerance level!");
} else {
System.out.println("Value outside the tolerance level!");
}
}
}