Unformatted text preview: If you had to calculate the hypotenuse of a triangle you would need two parameters which are two sides of the triangle; side A and Side B. Or you could do another way to calculate a triangle would be by all sides, two sides and an angle, or all three angles. With these examples you are using more than on parameter. The second example can be the payroll program we just created. In that program we have to find the weekly gross pay for an employee. You would have to set variables of H= hours worked, E= employee and WG= weekly gross. Once you develop the specific information for each variable you complete the valid calculation which shows that with this method you are using more than one parameter....
View Full Document
- Spring '11
- Java Programming, Calculation, parameters