Question: Please use C++ for question 2 2. (weight: 15%) Write a program that compares the values of yl and y2 in the following expressions for
Please use C++ for question 2

2. (weight: 15%) Write a program that compares the values of yl and y2 in the following expressions for values of n up to 100 in increments of 10. Does the result surprise you? y1 100* n10 (Weight: 4596) result came about) 3. Write T(n) and big-O expressions for the following loops (explain how the 3.1. for (int i 0; i0;j/- 2) cout vl num items 5 current_capacity 10 0] [] 2 3 14] [5] 6 (8 9 int* the data kw: :vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
