Computer Programming Assignment-
Q1. Using for loop, write a C++ program that prints out the multiples of 3 up through 75, separated by a blank space.
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75
Q2. Using a while loop; write a C++ program that computes the sum of the even numbers 2 through 100.
2 + 4 + 6 + 8 + ... + 98 + 100
Store the value in a variable called sum and display sum.
Q3. Write a C++ program that uses a do while loop to sum the numbers from 1 to 10 and prints the result like this:
Q4. Write a C++ program that allows a user to populate a one dimensional array that takes 8 integers. The program should then compute and print out the maximum value in that array. (Use if-else statement to determine the maximum value)
Q5. Create a 2 dimensional array of any data type. Use for loop to display all the elements of the array?