What is the screen output of the following code segment?

QUESTION 1: What is the screen output of the following code segment? Explain the reasoning behind your answer. #include<iostream> using namespacestd; int main() { double Test1 = 70; double Test2 = 80; double Test3 = 84; double Average = 0; intNumberOfTests = 3; Average = (Test1 + Test2 + Test3) / NumberOfTests; if (Average >= […]

Leave a Reply