Question: ! ! Using C + + ! ! Write a program that asks the user to enter your name ( first and last ) and

!!Using C++!!
Write a program that asks the user to enter your name (first and last) and three
numbers (these numbers can be either integers or floats). The program will then
do the following:
Write one function that accepts those three numbers and adds them
together. It should then return the result.
Write a second function that accepts the result of the first function and
divides that number by 3. It should then return that result.
Write a third function that displays the results in this manner (this
assumes that the numbers entered are 1,2, and 3):
a. Name: (name entered in the beginning of the program)
b.1+2+3=6
c.63=2
For example, if I ran this program with the following items:
Name:
Numbers entered: 2,4, and 6
Function three will display the following:
Name:
2+4+6=12
123=4
 !!Using C++!! Write a program that asks the user to enter

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!