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 120 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
YES! Correct, THANKS for helping me on my review


pratush dev

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

 

Did you know?

The people with the highest levels of LDL are Mexican American males and non-Hispanic black females.

Did you know?

Anesthesia awareness is a potentially disturbing adverse effect wherein patients who have been paralyzed with muscle relaxants may awaken. They may be aware of their surroundings but unable to communicate or move. Neurologic monitoring equipment that helps to more closely check the patient's anesthesia stages is now available to avoid the occurrence of anesthesia awareness.

Did you know?

If you use artificial sweeteners, such as cyclamates, your eyes may be more sensitive to light. Other factors that will make your eyes more sensitive to light include use of antibiotics, oral contraceptives, hypertension medications, diuretics, and antidiabetic medications.

Did you know?

When Gabriel Fahrenheit invented the first mercury thermometer, he called "zero degrees" the lowest temperature he was able to attain with a mixture of ice and salt. For the upper point of his scale, he used 96°, which he measured as normal human body temperature (we know it to be 98.6° today because of more accurate thermometers).

Did you know?

All adults should have their cholesterol levels checked once every 5 years. During 2009–2010, 69.4% of Americans age 20 and older reported having their cholesterol checked within the last five years.

For a complete list of videos, visit our video library