Hey guys,
I am new to java and I am creating an applet for an assignment for my university course.
I am trying to do some calculations inside a method but I am getting errors:
How do I do all three calculations??? It only lets me do one calculation inside the method.Quote:
private double Calculate_Results ()
{
return (ElectricityUsedPerYear = SunlightHours * DaysInYear * OutputCapacity / 1000.0);
(ElectricityValue = ElectricityPrice * ElectricityUsedPerYear);
(Efficiency = OutputCapacity / (1000.0 * ProductSize) * 100.0;)
}// private double Calculate_Results ()
Thanks,
pagunston

