1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sveticcg [70]
3 years ago
8

Look at the following program and answer the question that follows it. 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 } Which line(s) in this program cause output to be displayed on the screen?
Computers and Technology
1 answer:
viva [34]3 years ago
4 0

Answer:

The answer is "14 Line".

Explanation:

In the given C++ language code the main method defines a variable that is "hours, payRate, and grossPay". In which variable hours is an integer variable and payRate and grossPay is double type variable.

In hours and payRate variable, we assign a value that is "40 and 20.0" and the variable grossPay assign formula that calculates value and holds value in this variable. Then we use print (cout) function to print grossPay variable value.

You might be interested in
What can i use to erase data off computer and what name of it and steps
swat32
Is it mac i know how
5 0
3 years ago
Which descriptions offer examples of Correction Services workers? Select all that apply.
lutik1710 [3]

B.) Doug supervises Jailers and makes sure their work meets standards.

E.) Rudy monitors people who are on probation and parole.

F.) Nancy guards inmates in a prison.

4 0
3 years ago
Which standard is commonly used on the Internet to represent non-numeric data?
mezya [45]
ASCI is the standard that is commonly used on the Internet to represent non-numeric data. ASCI stands for American Standard Code fro Information Interchange. This character encoding standard represents text in computers, telecommunications equipment, and other devices.  It assigns letters, numbers, and other characters within the 256 slots available in the 8-bit code
4 0
3 years ago
Which of the following is NOT a possible combination of values of the variables in this program when it finishes running?
Nady [450]

Answer:

Definitely D

Explanation:

When you flip a coin it’s a 50/50 chance. Meaning it’s equal.

7 0
3 years ago
Read 2 more answers
What would be the code of this in HTML ??
Alla [95]

Answer:r tHE RED LINE

Explanation:

Its not supost to be there

8 0
3 years ago
Other questions:
  • After Intel faced strong shifts in technologies, such as cloud services, social networking, mobile devices, etc., Intel realized
    11·1 answer
  • When you first launch the internet, what page will open?
    9·1 answer
  • There are n coins, each showing either heads or tails. We would like all the coins to show the same face. What is the minimum nu
    6·1 answer
  • When all RGB colors have the same value, the resulting color will most likely be some variation of _______________.
    11·1 answer
  • What is the education level of a majority of the Power, Structural, and Technical Systems workers?
    7·1 answer
  • When the Hyper-V role is added to a Windows Server 2016 server, the hypervisor creates the individual environments, each of whic
    5·1 answer
  • What are the 6 major forms that Energy can be grouped into?
    10·1 answer
  • The term __________ denotes data that is being stored on devices like a universal serial bus (USB) thumb drive, laptop, server,
    6·1 answer
  • Role and importance of internet in today's world
    9·2 answers
  • The lost boy gave the correct
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!