Input two integer numbers,then use four functions that will perform the following:Add the twonumbers, subtract the two …
ID: 3613309 • Letter: I
Question
Question:
Input two integer numbers,then use four functions that will perform the following:Add the twonumbers, subtract the two numbers, calculate the product of the twonumbers, and calculate the quotient and modulus in one functionusing pass by reference.Convert the first number entered from Fahrenheit to Celsius and thesecond number from Celsius to Fahrenheit using functions. Use thefollowing formulas to perform the conversion
Celsius = (100 / 180) * (Fahrenheit – 32)
Fahrenheit = (Celsius * (180 / 100)) + 32
Create a program that will thank the userand pause the screen so the user will have ampletime to see the output on the screen.
Notes: Function names must be meaningful.
The program must include ample documentation to explain itspurpose.
Explanation / Answer
please rate - thanks #include using namespace std; int add(int,int); int sub(int,int); int prod(int,int); void div(int,int,double&,int&); int main() {int num1,num2,answer; double realanswer; coutnum1; coutnum2; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.