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
Please help this is due today!!!!!
White raven [17]

Answer:

1:c 2:False

Explanation:

7 0
3 years ago
What engineers call moment, scientists call
Svet_ta [14]

Answer:

yes

Explanation:

7 0
2 years ago
Question
Leto [7]

Answer:

True

Explanation:

The CNC is the primary interface between the machine operator and the machine.

4 0
2 years ago
A gas pressure difference is applied to the legs of a U-tube manometer filled with a liquid with specific gravity of 1.7. The ma
MArishka [77]

Answer:

5320.6 Pascal

Explanation:

Manometer is a pressure measuring device use to measure gas pressure .

Pressure difference in Manometer is a function of density,gravity and the height difference of the liquid.

Pressure difference = density x acceleration due to gravity x difference in height of liquid

Density of liquid = specific gravity of object x density of water.

Density of water = 997 kg/m^3

Specific gravity of liquid = 1.7

Density of liquid = 997 x 1.7 =1694.9kg/m^3

g= 9.81 m/s^2

h =320mm = 0.320m

Pressure difference = 1694.9 x 9.81 x 0.320 = 5320.6 Pascal

3 0
3 years ago
Read 2 more answers
Why can't I fly. I dont know why?
algol13
In order to fly, you must have a device/mechanism that will release hot air, causing it to fly. A jet pack will do the job.
5 0
3 years ago
Other questions:
  • a refrigerator uses refrigerant-134a as the working fluid and operates on the vapor-compression refrigeration cycle. the evapora
    10·2 answers
  • Steam flows at steady state through a converging, insulated nozzle, 25 cm long and with an inlet diameter of 5 cm. At the nozzle
    11·1 answer
  • Why do conditional statements always have only two outcomes?
    8·1 answer
  • The cost of hiring new employees outpaces the raises for established employees is
    5·1 answer
  • State five applications of thermochromic materials
    11·1 answer
  • Implement the following Matlab code:
    8·1 answer
  • What are the BENEFITS and RISKS of using automobiles?
    10·1 answer
  • 4. What are these parts commonly called?
    13·1 answer
  • Given the inherent costs of regulation it is safe to say that there is always a negative economic impact associated with regulat
    7·1 answer
  • This test should be performed on all cord sets, receptacles that aren't part of a building or structure's permanent wiring, and
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!