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 118 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
Thanks for the timely response, appreciate it


mammy1697

  • Member
  • Posts: 341
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

Blood in the urine can be a sign of a kidney stone, glomerulonephritis, or other kidney problems.

Did you know?

Though “Krazy Glue” or “Super Glue” has the ability to seal small wounds, it is not recommended for this purpose since it contains many substances that should not enter the body through the skin, and may be harmful.

Did you know?

Acute bronchitis is an inflammation of the breathing tubes (bronchi), which causes increased mucus production and other changes. It is usually caused by bacteria or viruses, can be serious in people who have pulmonary or cardiac diseases, and can lead to pneumonia.

Did you know?

Thyroid conditions may make getting pregnant impossible.

Did you know?

There are 60,000 miles of blood vessels in every adult human.

For a complete list of videos, visit our video library