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:
<u>BEST</u>
Option 4
<u>WORST</u>
2
Explanation:
Option 4 is the best cus confronting is better than just watching and letting it happen which in option 2 that's the case
A deque is a type of list
Answer:
abacus is first calculating device
Starting up your computer can also be referred to as "booting up" therefore, the answer is c