This topic contains a solution. Click here to go to the answer

Author Question: Given the following program, which line(s) cause(s) output to be displayed on the screen?1 // This ... (Read 124 times)

asan beg

  • Hero Member
  • *****
  • Posts: 570
Given the following program, which line(s) cause(s) output to be displayed on the screen?
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 }

◦ line 15
◦ line 14
◦ lines 13 and 14
◦ lines 14 and 15
◦ lines 8 and 9


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by asan beg on May 22, 2019

sierramartinez

  • Sr. Member
  • ****
  • Posts: 313
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 64% of students answer this correctly




asan beg

  • Member
  • Posts: 570
Reply 2 on: May 22, 2019
:D TYSM


juliaf

  • Member
  • Posts: 344
Reply 3 on: Yesterday
Excellent

 

Did you know?

More than 20 million Americans cite use of marijuana within the past 30 days, according to the National Survey on Drug Use and Health (NSDUH). More than 8 million admit to using it almost every day.

Did you know?

Approximately 25% of all reported medication errors result from some kind of name confusion.

Did you know?

The newest statin drug, rosuvastatin, has been called a superstatin because it appears to reduce LDL cholesterol to a greater degree than the other approved statin drugs.

Did you know?

Cancer has been around as long as humankind, but only in the second half of the twentieth century did the number of cancer cases explode.

Did you know?

Colchicine is a highly poisonous alkaloid originally extracted from a type of saffron plant that is used mainly to treat gout.

For a complete list of videos, visit our video library