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
Question 8(Multiple Choice Worth 2 points)
8090 [49]

Answer:

4 number answer is correct.

8 0
3 years ago
A bridge to be fabricated of steel girders is designed to be 500 m long and 12 m wide at ambient temperature (assumed 20°C). Exp
Volgvan

Answer:

a) 22.5number

b) 22.22 m length

Explanation:

Given data:

Bridge length = 500 m

width of bridge = 12 m

Maximum temperature = 40 degree C

minimum temperature  = - 35 degree C

Maximum expansion can be determined as

\Delta L = L \alpha (T_{max} - T_{min})

where , \alpha is expansion coefficient = 12\times 10^{-6} degree C

SO, \Delta L = 500\times 12\times 10^{-6}\times ( 40 - (-35))

\Delta L = 0.45 m = 450 mm

number of minimum expansion joints is calculated as

n = \frac{450}{20} = 22.5

b) length of each bridge

Length = \frac{500}{22.5} = 22.22 m

8 0
3 years ago
A meter stick can be read to the nearest millimeter and a travelling microscope can be read to the nearest 0.1 mm. Suppose you w
german

Answer: No

Explanation:

Length= 2cm= 20mm

Now meter stick can read to nearest millimeter.

It is given that length is to be measured with a precision of 1% of 20mm= 1/100 * 20= 0.2mm

Since the least count is 1mm of meter stick and precision required is less than that. So, meter stick cannot be used for this, travelling microscope can be used for this as it can read to 0.1mm.

3 0
3 years ago
A gas stream contains 4.0 mol % NH3 and its ammonia content is reduced to 0.5 mol % in a packed absorption tower at 293 K and 10
bagirrra123 [75]

Answer:

Explanation:

Step by step solved solution is given in the attached document.

8 0
3 years ago
Here, we want to become proficient at changing units so that we can perform calculations as needed. The basic heat transfer equa
netineya [11]

Answer:

9500 kJ; 9000 Btu

Explanation:

Data:

m = 100 lb

T₁ = 25 °C

T₂ = 75 °C

Calculations:

1. Energy in kilojoules

ΔT = 75 °C - 25 °C = 50 °C  = 50 K

m = \text{100 lb} \times \dfrac{\text{1 kg}}{\text{2.205 lb}} \times \dfrac{\text{1000 g}}{\text{1 kg}}= 4.54 \times 10^{4}\text{ g}\\\\\begin{array}{rcl}q & = & mC_{\text{p}}\Delta T\\& = & 4.54 \times 10^{4}\text{ g} \times 4.18 \text{ J$\cdot$K$^{-1}$g$^{-1}$} \times 50 \text{ K}\\ & = & 9.5 \times 10^{6}\text{ J}\\ & = & \textbf{9500 kJ}\\\end{array}

2. Energy in British thermal units

\text{Energy} = \text{9500 kJ} \times \dfrac{\text{1 Btu}}{\text{1.055 kJ}} = \text{9000 Btu}

7 0
3 years ago
Other questions:
  • Capitol Brewing Inc.'s management is very concerned with declining sales of their major product, a dark ale, and has asked for h
    14·1 answer
  • How does the map scale help to interpret the map?
    14·2 answers
  • Liquid flows at steady state at a rate of 2 lb/s through a pump, which operates to raise the elevation of the liquid 100 ft from
    6·1 answer
  • What kind or kinds of engineers does take to design a drone and why?
    11·1 answer
  • Create a program that calculates the monthly payments on a loan using Decimal &amp; LC Console SEE Sanple Run Attached Specifica
    14·1 answer
  • A compound machine contains three simple machines with IMAs of 2, 4 and 5, respectively. What is the overall ideal mechanical ad
    15·1 answer
  • What quantity measures the effect of change?
    12·2 answers
  • Find the remaining trigonometric functions of 0 if
    10·1 answer
  • Why is electricity considered a secondary source of energy
    6·1 answer
  • determine the position d of the 6- kn load so that the average normal stress in each rod is the same.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!