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
densk [106]
3 years ago
5

3.1.14 Wormhole CodeHS May I have it in a copy and paste, please?

Computers and Technology
1 answer:
Sauron [17]3 years ago
6 0

Answer:

3.1.14 Wormhole CodeHS

Explanation:

3.1.14 Wormhole CodeHS

You might be interested in
What will the following code display? #include using namespace std; void doSomething(int); int main() { int x{2}; cout <<
Leno4ka [110]

Answer:

The code will display the following on the screen:-

2

0

2

Explanation:

The output is like this because x{2} assigns the value 2 to the integer x.First the value of x is printed on the screen that is 2 and that newline is used to go to the next line.After that function is called doSomething with x passed as the argument. doSomething function assigns the value zero to the variable passed and prints it on the screen.So the next line is 0.Since x is passed by value so no changes will appear in the original argument.Hence the last line printed is 2.

8 0
3 years ago
How many line ofoutput will be displayed by the following program fragment?
nexus9112 [7]

Answer:

Hi!

Let's make a quick debug of the code:

i    j   Output

0+0 =  0  

0+1 =    1

0+2 =  2

0+3 =  3

1+0 =  1 

1+1 =    2

1+2 =  3

1+3 =  4

2+0 =  2  

2+1 =    3

2+2 =  4

2+3 =  5

3+0 =  3  

3+1 =   4

3+2 =  5

3+3 =  6

4+0 =  4  

4+1 =   5

4+2 =  6

4+3 =  7

The total outputs is 20.

Explanation:

In the first iterations of the loop for the final value of the <em>i</em> is 1 and the final condition to stop of the do while is (<em>i</em> < 5) , so the iteration of for continues many times until  <em>i</em> break the condition.  

(5*4 = 20)

And after that you get 20 outputs.

I hope it's help you.

6 0
3 years ago
Which of the following is a good design tip.
tia_tia [17]

Answer:

Offer as much extraneous information as possible. The viewer will decide what is important.

5 0
3 years ago
Questione
umka2103 [35]

Answer:

According to my physics all of functinalitys are made of angles and binary code to perform a new formula and involved to each sides....

Explanation:

HOPE IT HELPS!!!i translate into G your language

5 0
3 years ago
python Write a class named Taxicab that has three **private** data members: one that holds the current x-coordinate, one that ho
Blizzard [7]

Answer:

see explaination

Explanation:

class Taxicab():

def __init__(self, x, y):

self.x_coordinate = x

self.y_coordinate = y

self.odometer = 0

def get_x_coord(self):

return self.x_coordinate

def get_y_coord(self):

return self.y_coordinate

def get_odometer(self):

return self.odometer

def move_x(self, distance):

self.x_coordinate += distance

# add the absolute distance to odometer

self.odometer += abs(distance)

def move_y(self, distance):

self.y_coordinate += distance

# add the absolute distance to odometer

self.odometer += abs(distance)

cab = Taxicab(5,-8)

cab.move_x(3)

cab.move_y(-4)

cab.move_x(-1)

print(cab.odometer) # will print 8 3+4+1 = 8

5 0
4 years ago
Other questions:
  • When operating a computer, a user interacts with
    14·2 answers
  • Write the definition of a function named rotate4ints that is passed four int variables. The function returns nothing but rotates
    9·1 answer
  • Dayla is concerned about managing her digital footprint. What does she mean by this? *
    7·1 answer
  • You upgrade your network to 1000 Mbps from 100 Mbps. You install a new 1000-Mbps network adapter into your Windows system. You c
    12·1 answer
  • Sales management wants a small subset of users with different profiles and roles to be able to view all data for compliance purp
    7·1 answer
  • A class can inherit behavior from a parent but also define its own and override parent behavior. This is called:
    8·1 answer
  • Here is what my rob-lox user USED to look like, btw what is better, Samsung or apple?
    13·2 answers
  • Please answer this question​
    13·1 answer
  • When a browser is open on your computer, what browser tool is used to move the webpage to the previously viewed page on the brow
    8·1 answer
  • Choose the answer that best completes the visual analogy.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!