Question: Q1: Write a C++ program to create a header have a function that add two numbers. Then call the function in the main code and

 Q1: Write a C++ program to create a header have a

Q1: Write a C++ program to create a header have a function that add two numbers. Then call the function in the main code and use it to add the following numbers and display the results on the screen: a) 3 5 b) 97 Q2: What is the output for the following codes: 1 - a) 2 6 7 8 c) 2 67 b) 78 2 6 d) 8 7 6 2 int arr[4]= {2, 6, 7, 8}; for (int i= 3; i>=0; i--) cout

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!