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
algol [13]
3 years ago
10

Given numRows and numColumns, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print

a space after each seat, including after the last. Ex: numRows = 2 and numColumns = 3 prints:
Engineering
1 answer:
Arada [10]3 years ago
3 0

Answer:

#include <stdio.h>

int main(void)

{

  int Rows = 2;

  int Col = 3;

  int row = 0;

  char colm = 'A';

  char var = 'A';

   for (row = 1; row<=Rows; ++row){

 for (colm = 0; colm<Col; colm++){

    printf("%d", row);

    printf("%c ", var + colm % 3);

 }

}

        ++var;

     }

  }

  printf("\n");

  return 0;

}

You might be interested in
A spherical gas container made of steel has a(n) 17-ft outer diameter and a wall thickness of 0.375 in. Knowing that the interna
Arte-miy333 [17]

Answer:

Maximum Normal Stress σ = 8.16 Ksi

Maximum Shearing Stress τ = 4.08 Ksi

Explanation:

Outer diameter of spherical container D = 17 ft

Convert feet to inches D = 17 x 12 in = 204 inches

Wall thickness t = 0.375 in

Internal Pressure P = 60 Psi

Maximum Normal Stress σ = PD / 4t

σ = PD / 4t

σ = (60 psi x 204 in) / (4 x 0.375 in)

σ = 12,240 / 1.5

σ = 8,160 P/in

σ = 8.16 Ksi

Maximum Shearing Stress τ = PD / 8t

τ = PD / 8t

τ = (60 psi x 204 in) / (8 x 0.375 in)

τ = 12,240 / 3

τ = 4,080 P/in

τ = 4.08 Ksi

7 0
3 years ago
Velocity components in an incompressible flow are: v = 3xy + x^2 y: w = 0. Determine the velocity component in the x-direction.
cupoosta [38]

Answer:

Velocity component in x-direction u=-\frac{3}{2}x^2-\frac{1}{3}x^3.

Explanation:

   v=3xy+x^{2}y

We know that for incompressible flow

   \frac{\partial u}{\partial x}+\frac{\partial v}{\partial y}=0

\frac{\partial v}{\partial y}=3x+x^{2}

So   \frac{\partial u}{\partial x}+3x+x^{2}=0

\frac{\partial u}{\partial x}= -3x-x^{2}

By integrate with respect to x,we will find

u=-\frac{3}{2}x^2-\frac{1}{3}x^3+C

So the velocity component in x-direction u=-\frac{3}{2}x^2-\frac{1}{3}x^3.

3 0
3 years ago
Why is the face of the claw on a claw hammer usually a smooth curve? Why isn't it straight or some other shape?
GarryVolchara [31]

Answer:

The face of the claw on the claw hammer is usually a smooth curve so as to improve the ease with which nails are removed when removing nails because as the nail held between the V shaped split claw is being pulled out from the wood, it slides more and more towards cheek, reducing the distance of the nail from the cheek which is the fulcrum, thereby increasing the mechanical advantage because the location of the hand on the grip remains unchanged

Explanation:

7 0
3 years ago
A steam turbine in a power plant receives 5 kg/s steam at 3000 kPa, 500°C. Twenty percent of the flow is extracted at 1000 kPa t
MrMuchimi

Answer:

The temperature of the first exit (feed to water heater) is at 330.15ºC. The second exit (exit of the turbine) is at 141ºC. The turbine Power output (if efficiency is %100) is 3165.46 KW

Explanation:

If we are talking of a steam turbine, the work done by the steam is done in an adiabatic process. To determine the temperature of the 2 exits, we have to find at which temperature of the steam with 1000KPa and 200KPa we have the same entropy of the steam entrance.

In this case for steam at 3000 kPa, 500°C, s= 7.2345Kj/kg K. i=3456.18 KJ/Kg

For steam at 1000 kPa and s= 7.2345Kj/kg K → T= 330.15ºC i=3116.48KJ/Kg

For steam at 200 kPa and s= 7.2345Kj/kg K → T= 141ºC i=2749.74KJ/Kg

For the power output, we have to multiply the steam flow with the enthalpic jump.

The addition of the 2 jumps is the total power output.

4 0
3 years ago
Emily Kent works as a computer progra mmer for a software company. Her boss, Sam Anderson, is responsible for developing a new s
matrenka [14]

Answer:

A pirated software

Explanation:

Software piracy is a term used to describe the act of illegally using, copying, distributing, modifying or selling software without ownership or legal rights. When unauthorized individual uses or accesses a software products and services, then the software is pirated.

Since Sam is giving all the team members a (free) copy of the game without (consent) from the company, it is illegal and termed pirated software

8 0
3 years ago
Other questions:
  • According to Manor, the example of the subway train in New York City is an example of which type of uniqueness?
    9·1 answer
  • What is the name of the model/shape below?
    5·2 answers
  • Find the minimum diameter of an alloy, tensile strength 75 MPa, needed to support a 30 kN load.
    14·1 answer
  • Which of the following statements define drug abuse
    7·1 answer
  • a. To measure the water current in an ocean, a marker is dropped onto it. Determine if the trajectory traced by the drifting mar
    5·1 answer
  • The mathematical relationship between
    10·1 answer
  • Use the scoring system described to calculate the alignment score for These are two lines of 14 letters aligned with each other.
    5·1 answer
  • Why is communication one of the most important aspects of an engineer’s job?
    7·2 answers
  • Which regulations are related to guard rail height and dimensions and uniformity of stairs?
    7·2 answers
  • A countinous shot that sense, flows well, and is understanable and pleasant to look at
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!