Ask Question
28 October, 16:26

Look at the following program and answer the question that follows it. They are multiple choice i need the correct one and explanation

1 / / This program displays my gross wages.

2 / / I worked 40 hours and I make $20.00 per hour.

3 #include

4 using namespace std;

5

6 int main ()

7 {

8 int hours;

9 double payRate, grossPay;

10

11 hours = 40;

12 payRate = 20.0;

13 grossPay = hours * payRate;

14 cout << "My gross pay is $" << grossPay << endl;

15 return 0;

16 }

Which line (s) in this program cause output to be displayed on the screen?

A) 13 and 14

B) 8 and 9

C) 14

D) 13

E) 15

+3
Answers (1)
  1. 28 October, 18:39
    0
    E!

    Have an amazing day!
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Look at the following program and answer the question that follows it. They are multiple choice i need the correct one and explanation 1 / ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers