Answer the question and its urgent so that I can properly write what I am whishing and thanks

For the following pseudo-code:
1 for I = 1 to n
2 for j = 1 to i
3 for k = 1 to j
4 print ” Hell o , world ”
a. Exactly how many times is the print statement on line 4 executed?
Your answer should be a function of n.
b. What is the run-time complexity of the code?
varunaryan
Asked Jan 21, 2014

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories