English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

its at this website: http://www.lghs.net/teachers/math/ljacobson/AP%20Comp%20Sci/Worksheet%20A5.2%20-%20Methods.pdf

2006-12-18 15:18:08 · 2 answers · asked by (: 2 in Computers & Internet Programming & Design

2 answers

To start, a - b = 15
num1 - num2 = -15
Now, a - b = 15
north returned -45
c / d = -6.5
num3 / num4 = -9.25
Now, c / d = -6.5
south returned 330.0

--------------------------------------------------------
Above is the exact output.

You need to remove public specifer against 'Method' class, to put both class in a single file.

hope it solved ur problem,

Happy coding \:D/ ...
-anuj chauhan

2006-12-19 00:46:38 · answer #1 · answered by anuj_kr_nspl 1 · 0 0

Its supposed to return the values of num1-num2 and 3X(num1-num2) and also num3/num4 and 10X(num3/num4)

Moreover in the last class it returns:
15
15
hello
-6.5
-6.5
goodbye

2006-12-18 23:28:19 · answer #2 · answered by Subhasis G 4 · 0 0

fedest.com, questions and answers