Question: Asap please 7. Given the following four patterns: Pattern A Patten B Pattern C PatternD 123456 1 2 123 1234 1 234 123 12345 12
7. Given the following four patterns: Pattern A Patten B Pattern C PatternD 123456 1 2 123 1234 1 234 123 12345 12 123456 1 123456 21 12345 321 1234 4321 123 1 2 12345 54321 654321 Which of the pattern is produced by the following code? for (int i 1;6 ++) for (int j 6: j 1:-) System.out.printj G ? j + "":""+"T System.out.printinO: a. Pattern A b. Pattern B c. Pattern C d. Pattern D 8. What is the output after the following loop terminates? int number 25; int i; boolean isPrime true for (i 2; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
