C++ Programs 17 Lessons

C++ programming examples with explanations

C++ Program to Print Integer

This C++ program is used to print given integer input by the user on the screen. cin is used to obtain input and cout is used to print the number on the screen.

    C++ Compute the Sum and Average of Two Numbers

    In this C++ program, you will get to know about how within a program, you take two integer variables and find the sum and average of these two integer variables and display the output.