Question: I want my answer in C plus plus QUESTION 1 a) a Write a main() program to do the following: i) ) Input three integers.
I want my answer in C plus plus 
QUESTION 1 a) a Write a main() program to do the following: i) ) Input three integers. ii) Pass all the inputs through function call named calculatel(), assign the function to a variable named sum and display the total of inputs. iii) Call a function named calculate2() to determine whether the code is 'O' or 'E'. Then, display the message "odd number" if the code is 'o' or "Even number" if it is 'E'. b) Write the definition of function named calculatel() that receive three integers through its parameter. This function then calculates and returns the total of three integers. c) Write the definition of function named calculate2() that will receive two parameters, which are the total of three integers and a character through its parameter (pass by reference). This function will determine the character 'o' if the total value received is an odd number or character 'E' if it is an even number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
