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
Alenkinab [10]
4 years ago
13

The software for the elevator uses a variable, called level, to track the floor number of the elevator's current position. When

a person presses a button indicating that the elevator should rise to a higher floor, the following goUp procedure is invoked with the desired number of floors to climb provided as a parameter.
What is displayed if the elevator is currently on the 3rd floor (level = 3) and the procedure goUp(3) is invoked?
Computers and Technology
1 answer:
sashaice [31]4 years ago
3 0

Answer:

The elevator will display 6 that is level = 6.

Explanation:

The elevator is currently on the 3rd floor (level = 3). Whenever, the goUp procedure is called, the elevator climbed up based on the number provided as parameter to the goUp procedure.

Since the elevator is already on the 3rd floor and goUp(3) is invoked, it means the elevator will climb to 3 additional floor, which is level 3 + 3 and that gives us level 6.

So, the elevator will display level 6.

You might be interested in
c++ Write a for loop that computes the following sum: 5+10+15+20+...+485+490+495+500. The sum should be placed in a variable sum
ElenaW [278]

Answer:

#include <iostream>

#include <cstdlib>

 

using namespace std;

 

int main(){

 

 

   int sum=0, num=5;   //variables declaration and inicialization

 

   while (sum<500){   //conditioning to do the sum up to 500

   sum=sum+num;     //actually sum process

   cout << "The value is: "<<sum;   //show the result in screen

   };

   return 0;

}

5 0
4 years ago
How does a hard drive
stealth61 [152]
Your answer is incomplpete<span>Native Americans have lived there for thousands of years, long before ... On July 4, 1776, people from the thirteen colonies created the United States ... In the early 1800s, the new nation faced many controversial issues, such as slavery ..... the United Stateswould not become involved in a war the two countries were fighting ...</span>‎Pre-Columbian America - ‎Colonial America - ‎<span>American Revolution</span>
8 0
4 years ago
A_________ formal access control methodology used to assign a level of confidentiality to an information asset and thus restrict
Illusion [34]

Answer:

1. Data classification scheme

Explanation:

<h2><u>Choose an answer from the options. </u></h2>

A<u> data classification scheme</u> formal access control methodology used to assign a level of confidentiality to an information asset and thus restrict the number of people who can access it

6 0
4 years ago
______ is used to extract knowledge from sources of data-NoSQL databases, Hadoop data stores, and data warehouses-to provide dec
Alex777 [14]

Answer: Data analytics

Explanation:

3 0
3 years ago
What are some other possible causes of an overheating laptop
ella [17]
Too much use, air vents are being covered, dust/dirt/other particles clogging the fan making it struggle too cool the laptop down, the internal battery may be low and struggling to function, etc.


I hope this helps you!
8 0
3 years ago
Other questions:
  • The default case is required in the switch selection statement.
    12·1 answer
  • Give a recursive algorithm for finding the sum of the<br> first n odd positive integers.
    8·1 answer
  • Which mistakes are NOT highlighted by the spell checker in a word-processing document?
    15·1 answer
  • In a ____ queue, customers or jobs with higher priorities are pushed to the front of the queue.
    14·1 answer
  • A client is asking for a printing solution that will print three sheets of paper with identical information on each page with a
    13·1 answer
  • How to curl your hair with a curling iron
    5·1 answer
  • What effect does screen resolution have on how graphics are displayed?
    7·1 answer
  • When using a presentation software you can change the size of the text to...? Increase Font size, Decrease font size, increase t
    15·2 answers
  • Anybody know any educational game sites unblocced in school besides funbrain and pb skids
    12·1 answer
  • Why do we use antivirus program?<br><br>please tell fast​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!