Write an expression that computes the integer average of the int variables exam1 and exam2 (both declared and assigned values).
1 answer:
Answer:
#include <iostream>
using namespace std;
int main()
{
int exam1 = 70;
int exam2 = 85;
int examAverage;
examAverage = (exam1+exam2)/2;
cout <<"The Average of Exam1 and Exam2 is: "<<examAverage<<endl;
return 0;
}
Explanation:
Using the C++, we declare the three variables all of type
exam1
exam2 and
examAverage
We assign initial values of 70 and 85 to exam1 and exam2 respectively
You might be interested in
Answer:
#
Explanation:
I have notes on it we learned it in 8th
The correct answer is 1: B new tech and 2:C we can tell by the way businesses are incorporating things like social media like how Wendys got more popular because of their sassy tweets
Answer:
Option C. Security+ is the correct answer.
Explanation:
Answer:
I don't see the question
Explanation:
Answer: A. How much is this vehicle's resale value?