Question: i need a working program that can match the reqired data 1. Write a program that declare a variable called first of type int initialized

i need a working program that can match the reqired data
i need a working program that can match the reqired data 1.

1. Write a program that declare a variable called "first" of type "int" initialized to 13 2. Declare other variable "second" of type "int" and initialized to 16 3. Write C++ statements that calculate the average of the two numbers Hint: define variable and name it "avg". The output should be like the following: The average of first =13 and second =16 is 14.5

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!