- 4 Consider The Following Code 8 Pts Package Guinenus Public Class Px Public Static Void Main String Args Int Su 1 (24.86 KiB) Viewed 39 times
4. Consider the following code (8 pts) package guinenus; public class px public static void main(String args[]) { int su
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
4. Consider the following code (8 pts) package guinenus; public class px public static void main(String args[]) { int su
4. Consider the following code (8 pts) package guinenus; public class px public static void main(String args[]) { int sunt 0 - new int[a][); int x; for (int ke; k< x; ke+) sunk]te- 1; int Y; for (int k = 8; k< y; k++) sum[o](K) = 1; int 2; int w; for (int s. 1; 2; ++) for (int n = 1; W; ++) sun[wn.sunm-1)(n-1) sun[e]n-1); for (int -1; X; n++) Systen.out.print(som].); >> Assume A, B, C. X. Y, Z, and Ware defined correctly in the program a. XY. Z in this part are not related to your ID, Find the proper values for A, B, C, X. Y, Z so that the program output is: (4 pts) 1) 2480 2) 000000 b. In this part, X, Y, Z, W, and are the numbers from your ID, Replace the values and find the output. A=5, and B = 5 (2 pts) X-8 Y=5 2-6 W=0 T-6 c. In this part, X, Y, Z, W. and T are the numbers from your ID Replace the values and find the output. A-7, and B-5 (2 pts)