I. Identify selection structure and looping structure.
II. State the value that will stops the loop.
III. Write a C++ program to demonstrate the following flowchart.
IV. Run the program several times with various input value. Analyse the output.
V. Explain what is the program intended to do.
2. Print the following output using a C++ program
5 4 3 2 1
5 4 3 2 1
5 4 3 2 1
5 4 3 2 1
3. Print the following output using a C++ program
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
4. Print the following output using a C++ program
5 4 3 2 1
5 4 3 2 1
5 4 3 2 1
5 4 3 2 1
3. Print the following output using a C++ program
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
4. Print the following output using a C++ program
5. Print the following output using a C++ program
6.Print the following output using a C++ program
7. Print the following output using a C++ program
No comments:
Post a Comment