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
Get step-by-step solutions from verified subject matter experts
