Text: Answer All the Questions
[5x10=50 Marks]
QI.
i. Write the for loop program to print the following output: 3468136272544
ii. Write an algorithm, draw a flowchart, and write a C++ program to read the value of x and y
[3]
Calculate the formula: z = x + y^5 + 3y
Print the value of z
Sample Output:
Enter the x value: 2
Enter the y value: 2
Z value is 54
Algorithm:
Flowchart:
[2] [2] [3]
Program:
Sample output: