Answer:
55
Explanation:
Given the codes as below:
- for (int a = 0; a < 10; a++)
- {
- for (int b = 10; b > a; b--)
- {
- System.out.print("#");
- }
- }
There are two layer loops in the code. The outer loop (Line 1) will run for 10 iterations by traversing through a = 0 to a=9. However, the inner loop (Line 3) will run for 10 + 9 + 8 + 7 +...+ 1 = 55 iterations.
Since the print statement is within the inner loop (Line 5) and therefore the number of printed "#" symbols is dependent on the number of iterations of the inner loop. There will be 55 "#" symbols printed.
Answer
determine possible solutions
Explanation:
im assuming
ty for the thanks
Answer:
I would suggest an outdated laptop that can't be updated anymore because it is old and outdated.
Explanation:
If you hack on an old laptop it can't be traced back to you because the servers are shutdown.
Well, if you want to, make sure it's safe.
I don't know what RAM really is, but check if it's safe first. And maybe talk it out with your parents.
That's all I gotta say!