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
System Integration summary
kenny6666 [7]

Answer:

System integration can be defined as the progressive linking and testing of system components to merge their functional and technical characteristics into a comprehensive interoperable system.

Explanation:

....

6 0
2 years ago
What is the area enclosed by the cycle area of the Carnot cycle illustrating on a P-V diagram?
Inga [223]

Answer:

The work of the cycle.

Explanation:

The area enclosed by the cycle of the Pressure-Volume diagram of a Carnot engine represents the net work performed by the cycle.

The expansions yield work, and this is represented by the area under the curve all the way to the p=0 line. But the compressions consume work (or add negative work) and this is substracted fro the total work. Therefore the areas under the compressions are eliminated and you are left with only the enclosed area.

7 0
3 years ago
Based on these statements:
Evgen [1.6K]

Answer:

the third statement is true

Explanation:

given data

Lenovos cost more than Dells

Lenovos cost less than Apples

solution

we have given 1st statement that is express as

cost (Lenovo) > cost (Dell)     ..................1

and

2nd statement that is express as

cost (Lenovo) < cost (Apple)

so we can say it as

cost (Apple) > cost (Lenovo)       ......................2

and

now above Both equation 1 and 2 can be written as

cost (Apple) > cost (Lenovo) > cost (Dell)      .........................3

so we can say cost of Apples is more than the cost of Lenovos and the cost of Dells

so as that given 3rd statement is true

7 0
3 years ago
"Using your favorite search engine and the resources of your library, develop a set of recommendations regarding the possible us
alina1380 [7]

Answer:

Cloud computing services are going to be very important to supporting Ashville's mobile app since it has different uses. These applications uses include; data storage, as well as helping to provide network to any business data related work. This will improve the city of Ashville's mobile app operations considerably.

The benefits of using cloud computing are; it allows a business managers to be more concerned with running the business themselves rather than maintaining the data center. The use of cloud computing allows a company's IT administrators to focus on managing the company's operations, thereby allowing performance to be enhanced of the business enterprise.

A commercial company is able to create new technologies more rapidly with the use of cloud computing. Furthermore, the enterprise will be able to automate its activities using cloud computing. Cloud computing is also very important as it is more affordable and thus promotes the company's growth in the market. Cloud computing is also enhancing the global presence of the Ashville mobile app. The drawbacks of using cloud computing include the following; due to using the cloud infrastructure, the company's performance may be unreliable. People believe that cloud computing is not reliable and that cloud computing may not be secure at last and can't always be right for all workloads.

Explanation:

5 0
3 years ago
Oil of density 780 kg/m3 is flowing at a velocity of 20 m/s at the atmospheric pressure in a horizontal cylindrical tube elevate
Soloha48 [4]

Answer:

radius = 0.045 m

Explanation:

Given data:

density of oil = 780 kg/m^3

velocity = 20 m/s

height = 25 m

Total energy is = 57.5 kW

we have now

E = kinetic energy+ potential energy +  flow work

E = \dot m ( \frac{v^2}{2] +  zg + p\nu)

E = \dot m( \frac{v^2}{2] +  zg + p_{atm} \frac{1}{\rho})

57.5 \times 10^3 = \dot m ( \frac{20^2}{2} + 25 \times 9.81 + 101325 \frac{1}{780})

solving for flow rate

\dot m = 99.977we know that [tex]\dot m  = \rho AV

\dot m  = 780 \frac{\pi}{4} D^2\times 16

solving for d

99.97 = 780 \times \frac{\pi}{4} D^2\times 16

d = 0.090 m

so radius = 0.045 m

3 0
3 years ago
Other questions:
  • Which option is a potential environmental risk of adopting a new technology?
    5·1 answer
  • Assuming the torsional yield strength of a compression spring is 0.43Sut and the maximum shear stress is equal to 434MPa. What i
    9·1 answer
  • Why is it reasonable to say that no system is 100% efficient?​
    6·1 answer
  • Carnot heat engine A operates between 20ºC and 520ºC. Carnot heat engine B operates between 20ºC and 820ºC. Which Carnot heat en
    5·1 answer
  • A car radiator is a cross-flow heat exchanger with both fluids unmixed. Water, which has a flow rate of 0.05 kg/s, enters the ra
    15·1 answer
  • Please Help !!
    5·1 answer
  • What is a microwave transmitter?a) A technology that uses active or passive tags in the form of chips or smart labels that can s
    7·2 answers
  • Mark each one as either Potential or Kinetic Energy?
    11·1 answer
  • What is the sun's degree angle in the sky in summer and in winter?
    8·1 answer
  • What current must flow if 0.24 coulombs is to be transferred in 15ms?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!