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
BlackZzzverrR [31]
3 years ago
5

Where do you prefer to live?

Engineering
2 answers:
Fynjy0 [20]3 years ago
4 0
I love USA but i’d love to live in UK
Marysya12 [62]3 years ago
3 0

Answer:

Canada

Explanation:

You might be interested in
Write definitions for the following two functions:______
lawyer [7]

Answer:

<em>Written in Python</em>

def SumN(n):

     total = 0

     for i in range(1,n+1):

           total = total + i

     print("Total: ",total)

def SumNCubes(n):

     total = 0

     for i in range(1,n+1):

           total = total + i**3

     print("Cube: ",total)

n = int(input("User Input: "))

if n > 0:

     SumN(n)

     SumNCubes(n)

Explanation:

The SumN function is defined here

def SumN(n):

This line initializes the total to 0

     total = 0

The following iteration compute the required sum

<em>      for i in range(1,n+1): </em>

<em>            total = total + i </em>

This line outputs the calculated sum

     print("Total: ",total)

The SumNCubes function is defined here

def SumNCubes(n):

This line initializes the total to 0

     total = 0

The following iteration compute the required sum of cubes

<em>      for i in range(1,n+1): </em>

<em>            total = total + i**3 </em>

This line outputs the calculated sum of cubes

     print("Cube: ",total)

The main starts here; The first line prompts user for input

n = int(input("User Input: "))

The next line checks if input is greater than 0; If yes, the two defined functions are called

if n > 0:

     SumN(n)

     SumNCubes(n)

6 0
3 years ago
Peter the postman became bored one night and, to break the monotony of the night shift, he carried out the following experiment
aleksandrvk [35]

Answer:

//This Program is written in C++

// Comments are used for explanatory purpose

#include <iostream>

using namespace std;

enum mailbox{open, close};

int box[149];

void closeAllBoxes();

void OpenClose();

void printAll();

int main()

{

closeAllBoxes();

OpenClose();

printAll();

return 0;

}

void closeAllBoxes()

{

for (int i = 0; i < 150; i++) //Iterate through from 0 to 149 which literarily means 1 to 150

{

box[i] = close; //Close all boxes

}

}

void OpenClose()

{

for(int i = 2; i < 150; i++) {

for(int j = i; j < 150; j += i) {

if (box[j] == close) //Open box if box is closed

box[j] = open;

else

box[j] = close; // Close box if box is opened

}

}

// At the end of this test, all boxes would be closed

}

void printAll()

{

for (int x = 0; x < 150; x++) //use this to test

{

if (box[x] = 1)

{

cout << "Mailbox #" << x+1 << " is closed" << endl;

// Print all close boxes

}

}

}

Explanation:

7 0
3 years ago
What engine does the Mercedes 400e have?
Verdich [7]

Answer:

4.2 m119

Explanation:

it has the 4.2 m119 v8 engine with a top speed of 155 mph and 0 - 60 mph in 6.2 seconds

4 0
4 years ago
If gas costs $3.50 per gallon, how much would it cost to drive 500 miles in a city in a car that is 58.3 km/L
Akimi4 [234]
1 liter = .264 gallon
1 km = .621 mile

this means that 58.3km/L is equal to 137.13mpg

so

500/137.13 = 3.65 gallons of gas

3.65 x 3.5 = $12.78
5 0
3 years ago
How can I start a new project on solar panels building?​
Alborosie

Answer:so you can start by thinking about it and creating ideas that work well with it

Explanation:

Try u can do it

3 0
4 years ago
Other questions:
  • An ECM (A) is always installed on the vehicle's firewall (B) stores diagnostic
    15·1 answer
  • The cables of a power line are copper-coated steel wire. The overall diameter of the wire is 5/8 in. The steel core has a diamet
    8·1 answer
  • A car accelerates from O to 60. miles per hour in 5.2 seconds. Calculate acceleration in m/s seconds. Calculate acceleration in
    15·1 answer
  • An assembly line in a modern business compared to 1 from Henry Ford's time is more likely to rely on which of the following unsk
    13·1 answer
  • (TCO 1) Name one disadvantage of fixed-configuration switches over modular switches. a. Ease of management b. Port security b. F
    6·1 answer
  • When all network cables connect to one central point the network topology is typically referred to as a(n)_______
    6·1 answer
  • Which of these parts of a cell phone is least likely to be found on the phone's circult board?
    5·1 answer
  • Harlin is designing a new car engine that does not create pollution. Which technological design factor is probably the most
    8·1 answer
  • What is working fluid and mention five example of working fluid.​
    14·2 answers
  • The best saw for cutting miter joints is the
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!