Question: Give the rightC++ syntax for a function prototype (declaration)of the function named myAge which takes the current year and birth year as arguments and returns

Give the rightC++ syntax for a function prototype (declaration)of the function named myAge which takes the current year and birth year as arguments and returns the calculated age: and Give theC++ syntax for a calling statementon the function myAge you declared above which will return your age. (You can use arbitrary values)

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 Programming Questions!