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
Zanzabum
3 years ago
6

Write a Nested While Loop that will increment the '*' from 1 to 10.

Engineering
1 answer:
andrey2020 [161]3 years ago
8 0

Answer:

The program is as follows:

i = 1

while(i<11):

   j = 1

   while(j<=i):

       print('*', end = '')

       j += 1

   i += 1

   print()

Explanation:

Initialize i to 1

i = 1

The outer loop is repeated as long as i is less than 11

while(i<11):

Initialize j to 1

   j = 1

The inner loop is repeated as long as j is less than or equal i

   while(j<=i):

This prints a *

       print('*', end = '')

This increments j and ends the inner loop

       j += 1

This increments i

   i += 1

This prints a blank and ends the inner loop

   print()

You might be interested in
The formula for the cross sectional area of specimen at the middle is
poizon [28]
Times the radius squared !

hope this helps :)))
8 0
3 years ago
A pump is used to transport water from a reservoir at one elevation to another reservoir at a higher elevation. If the elevation
erastova [34]

Answer:b

Explanation:

We know power delivered by Pump is

P=\rho \times Q\times g\times \Delta H

where P\rho=Density of fluid

Q=Flow rate

g=acceleration due to gravity

\Delta H=Change in Elevation

If \Delta H is increased by 4 time then

P'=\rho \times Q\times g\times (4\Delta H)

P'=4 P

So power increases by four times.

4 0
3 years ago
Which factors influence changes in consumer demands? check all that apply
hoa [83]

Hello!

The factors that affect consumer demand for a product is the price and the person's income.

If the price of the product increases, the demand for the product will decrease. If the price of the product decreases, then the demand for the product will increase.

Demand is also affected by a person's income. The more money a person makes, the more money he has to spend on the product, which increases demand. If a person makes less money than he did before, demand for a product will decrease because he can no longer afford it.

I hope this helps you! Have a lovely day!

- Mal

8 0
3 years ago
Read 2 more answers
While having a discussion, Technician A says that you should never install undersized tires on a vehicle. The vehicle will be lo
gulaghasi [49]

Answer:

Both technician A and technician B are correct.

Explanation: Vehicle manufacturers always specify the size of the tires required for a given vehiclefor optimal efficiency,this will ensure that the speedometer is accurate and the level of the vehicle is good enough to ensure the vehicle works efficiently.

It is also a known fact that an increase in a vehicle's rpm(revolution per minute) will eventually lead to increased fuel consumption which means the fuel economy of the vehicle will be reduced making the vehicle less efficient in its fuel consumption.

6 0
3 years ago
An actual vapour compression system comprises following process represents a. 1-2 Compression process b. 2-3 Condens 1 (or heat
Gemiola [76]

Answer:

Explanation:

The deatailed diagram of VCRS is given below such

1-2=Isentropic compression in which temperature increases at constant entropy

2-3=Isobaric heat rejection i.e. heat rejected at constant pressure(condensation)

3-4=Irreversible expansion or throttling in which enthalpy remains constant

4-1=Isobaric heat addition(Evaporation)

4 0
3 years ago
Other questions:
  • c++ If your company needs 200 pencils per year, you cannot simply use this year’s price as the cost of pencils 2 years from now.
    9·1 answer
  • At the end of a power distribution system, a certain feeder supplies three distribution transformer, each one supplying a group
    8·1 answer
  • Finally you will implement the full Pegasos algorithm. You will be given the same feature matrix and labels array as you were gi
    12·1 answer
  • Air in a 10 ft3 cylinder is initially at a pressure of 10 atm and a temperature of 330 K. The cylinder is to be emptied by openi
    10·2 answers
  • 29
    6·1 answer
  • Calculate the number of vacancies per cubic meter for some metal, M, at 749°C. The energy for vacancy formation is 0.86 eV/atom,
    5·1 answer
  • . Which of the following formula is used for calculating current:
    15·1 answer
  • (I really need help ASAP please!! this is for science her is the problem)
    5·2 answers
  • ¿Por qué la lógica de proposiciones es conocida también como lógica de las proposiciones sin analizar?
    11·1 answer
  • The side area of the door shell that is concealed when the door is closed is called the:
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!