RELATED PROGRAMS

Q1. Write a program to print a string on the screen.

Q2. Write a program to print sum of two values.

Q3. Write a program to calculate the square of a number.

Q4. Write a C++ program that inputs a student’s marks in three subjects (out of 100) and prints the percentage marks.

Q5. Write a program to display the following output using a single cout statement.

Program = 20

Documentation = 23

Logic = 21

Flow chart = 18