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]
2 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]2 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
Type the correct answer in the box. Spell all words correctly.
trasher [3.6K]

syntax are programming languages that specify a series of structured functions. C is an example of such a language.

7 0
3 years ago
If you’re trying to reduce your debt, which of these expenses should you consider cutting out or cutting back on first?
I am Lyosha [343]

I think the answer is A

7 0
3 years ago
Read 2 more answers
Research the difference between the heart and the brain ???? and say which is most important and why????​
antoniya [11.8K]

Answer:

The brain is more important because the heart would not be able to function without instructions from the brain, which is very important. The brain is what gives orders to the rest of the body to keep everything going.

Sorry if my explanation sounds bad, I'm not great at wording things))

6 0
2 years ago
Consider a file system that uses inodes to represent files. Disk blocks are 8KB in size, and a pointer to a disk block requires
insens350 [35]

Answer:

64 terabytes

Explanation:

Given data:

Size of the disk block = 8 KB

Size required by the pointer to a disk block = 4 bytes

Now,

Size required by 12 direct disk blocks = 12 × 8

Size required by single disk block = 2048 × 8 KB

Size required by double disk block = 2048 × 2048 × 8 KB

size  required by triple disk block = 2048 × 2048 × 2048 × 8 KB

Now,

the maximum size of the file that can be stored in the this file system = 12 × 8  + 2048 × 8 KB  +  2048 × 2048 × 8 KB + 2048 × 2048 × 2048 × 8 KB  = 64 terabytes

5 0
3 years ago
Lập biêu đồ gantt chart
notka56 [123]

Answer:

Explanation:

yes

5 0
2 years ago
Other questions:
  • The Web team you manage is designing a new Website for a company that wants to reach a specific audience. After discussing the c
    14·1 answer
  • The __is the temporary storange location for text when it is cut from a document
    12·1 answer
  • A firewall, when properly implemented, can prevent most attacks on your system.
    11·1 answer
  • All but one of the following statements about stored procedures is true. Which one is false? a. They consist of one or more SQL
    10·1 answer
  • What are two constraints that continuous-media files have that conventional data files generally do not have?
    12·1 answer
  • kieran wants to search a database quickly for information on the last time a patient came to his medical facility.The informatio
    14·2 answers
  • why is the disk method a special case of the general slicing​ method? choose the correct answer below. a. the cross sections of
    7·1 answer
  • What time is spellrd the same forwards and backwards​
    11·1 answer
  • Brianna is taking a backpacking trip in the wilderness and wants to back up the photos from her camera. Which type of storage de
    10·1 answer
  • When heading styles have been applied to a document, the user has the option to navigate through the document using which tab on
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!