File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ public class Exercise {
2
+
3
+ public static void zoop () {
4
+ baffle ();
5
+ System .out .print ("You wugga " );
6
+ baffle ();
7
+ }
8
+
9
+ public static void main (String [] args ) {
10
+ System .out .print ("No, I " );
11
+ zoop ();
12
+ System .out .print ("I " );
13
+ baffle ();
14
+ }
15
+
16
+ public static void baffle () {
17
+ System .out .print ("wug" );
18
+ ping ();
19
+ }
20
+
21
+ public static void ping () {
22
+ System .out .println ("." );
23
+ }
24
+
25
+ }
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ public static void main(String[] args) {
13
13
double radians = Math .toRadians (180.0 );
14
14
double degrees2 = Math .toDegrees (Math .PI );
15
15
long x = Math .round (Math .PI * 20.0 );
16
- double x2 = Math .cos (angle + Math .PI / 2 );
16
+
17
+ double x2 = Math .cos (angle + Math .PI / 2.0 );
17
18
double x3 = Math .exp (Math .log (10.0 ));
18
19
double x4 = Math .pow (2.0 , 10.0 );
19
20
}
You can’t perform that action at this time.
0 commit comments