Question: 4. Write a C++ statement that input the 100 numbers into array called data using a for loop. [2 marks] Write code that lets the

4. Write a C++ statement that input the 100 numbers into array called data using a for loop. [2 marks] Write code that lets the user enter a number. The number should be multiplied by 2 and printed until the number exceeds 50. Use a while loop. [3 marks] 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
