can i use a method inside of an if statement?
i keep getting:
Error: E:\project\Candyland9.java:78: illegal start of expression
for method:
Code:public static double calcTotal(double one, double two , double three )
{
subtotal = (one + two + three)*tax;
total = one + two + three + subtotal;
return total;

