Create a program that asks the user to enter in two numbers


Writing a function

Create a program that asks the user to enter in two numbers. Pass the two numbers as arguments to a function. If the sum of the numbers is greater than 10, the function returns true. Otherwise the function returns false.

This is the prototype for the function:

boolsumthemup(int first, int second);

Sample output #1:
Enter in two numbers
6
8
The sum is greater than 10

Sample output #2:
Enter in two numbers
2
3
The sum is less than 10.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Create a program that asks the user to enter in two numbers
Reference No:- TGS01083485

Expected delivery within 24 Hours