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:
b) Reliability.
Explanation:
When the program gives correct output and fulfills the customer's requirements it is said to be reliable and said to be achieving reliability.
Correctness is when the program only provides correct solution.
Efficiency is when the program does the work in less time.
Usability means that the program is usable or not.
Answer: I cant give you an exact answer, but your options are gonna be B or C.
Explanation: A computer programmer actually doesn't work with a marketing company at all, most of them work from home as it is. And a Tech Support Specialist may work with a marketing firm, but it would be strictly IT stuffs.
Answer:
Please check the attachment.
Explanation:
Please check the attachment for the program in python.