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 123 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


elyse44

  • Member
  • Posts: 319
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

According to animal studies, the typical American diet is damaging to the liver and may result in allergies, low energy, digestive problems, and a lack of ability to detoxify harmful substances.

Did you know?

Your skin wrinkles if you stay in the bathtub a long time because the outermost layer of skin (which consists of dead keratin) swells when it absorbs water. It is tightly attached to the skin below it, so it compensates for the increased area by wrinkling. This happens to the hands and feet because they have the thickest layer of dead keratin cells.

Did you know?

The first-known contraceptive was crocodile dung, used in Egypt in 2000 BC. Condoms were also reportedly used, made of animal bladders or intestines.

Did you know?

The most common childhood diseases include croup, chickenpox, ear infections, flu, pneumonia, ringworm, respiratory syncytial virus, scabies, head lice, and asthma.

Did you know?

The most dangerous mercury compound, dimethyl mercury, is so toxic that even a few microliters spilled on the skin can cause death. Mercury has been shown to accumulate in higher amounts in the following types of fish than other types: swordfish, shark, mackerel, tilefish, crab, and tuna.

For a complete list of videos, visit our video library