Top Posters
Since Sunday
o
1
1
New Topic  
pagnor pagnor
wrote...
Posts: 1540
6 years ago
Look at the following program and answer the question that follows it.

     1   // This program displays my gross wages.
     2   // I worked 40 hours and I make $20.00 per hour.
     3   #include <iostream>
     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) 8 and 9
B) 14
C) 15
D) 13 and 14
E) 13
Textbook 
Database Concepts

Database Concepts


Edition: 7th
Authors:
Read 69 times
2 Replies
Genuine Coder
Replies
Answer verified by a subject expert
jeckojecko
wrote...
Top Poster
Posts: 690
Rep: 7 0
6 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

pagnor Author
wrote...
6 years ago
This website is legit, thank you!
Genuine Coder
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  901 People Browsing
 143 Signed Up Today
Related Images
  
 337
  
 93
  
 397
Your Opinion
Who will win the 2024 president election?
Votes: 8
Closes: November 4

Previous poll results: Do you believe in global warming?