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 117 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
Wow, this really help


smrtceo

  • Member
  • Posts: 344
Reply 3 on: Yesterday
Thanks for the timely response, appreciate it

 

Did you know?

Thyroid conditions may make getting pregnant impossible.

Did you know?

ACTH levels are normally highest in the early morning (between 6 and 8 A.M.) and lowest in the evening (between 6 and 11 P.M.). Therefore, a doctor who suspects abnormal levels looks for low ACTH in the morning and high ACTH in the evening.

Did you know?

Prostaglandins were first isolated from human semen in Sweden in the 1930s. They were so named because the researcher thought that they came from the prostate gland. In fact, prostaglandins exist and are synthesized in almost every cell of the body.

Did you know?

In Eastern Europe and Russia, interferon is administered intranasally in varied doses for the common cold and influenza. It is claimed that this treatment can lower the risk of infection by as much as 60–70%.

Did you know?

Only one in 10 cancer deaths is caused by the primary tumor. The vast majority of cancer mortality is caused by cells breaking away from the main tumor and metastasizing to other parts of the body, such as the brain, bones, or liver.

For a complete list of videos, visit our video library