A simple program to ask the user to give two numbers and then the program will solve the sum and average of the two given numbers using C++ programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Program Listing

#include <iostream>
// sum_average.cpp
// Written By: Mr. Jake Rodriguez Pomperada, MAED-IT, MIT
// www.jakerpomperada.com and www.jakerpomperada.blogspot.com
// jakerpomperada@gmail.com
// Bacolod City, Negros Occidental Philippines

int main()
    float val_one, val_two;
    float sum, average;

    std::cout <<"\n";
    std::cout << "\tSum and Average of Two Numbers in C++\n\n";
    std::cout << "\tEnter First Value : ";
    std::cin >> val_one;
    std::cout << "\tEnter Second Value : ";
    std::cin >> val_two;

    sum = (val_one + val_two);
    average = (sum/2);

    std::cout <<"\n";
    std::cout << "\tThe sum is " << sum << ".\n";
    std::cout << "\tThe average is " << average << ".\n";
    std::cout <<"\n";