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
hjlf
3 years ago
8

In Java; 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. Use separate print statements to print the row and column. Ex: numRows = 2 and numColumns = 3 prints:
1A 1B 1C 2A 2B 2C
import java.util.Scanner;
public class NestedLoops {
public static void main (String [] args) {
Scanner scnr = new Scanner(System.in);
int numRows;
int numColumns;
int currentRow;
int currentColumn;
char currentColumnLetter;

numRows = scnr.nextInt();
numColumns = scnr.nextInt();

numColumns = currentColumnLetter
for(currentRow = 0; currentRow < numRows;currentRow++){
for(currentColumn = =

System.out.println("");
}
}
Engineering
1 answer:
baherus [9]3 years ago
5 0

Answer:

Explanation:

import java.util.Scanner;

public class NestedLoops {

   public static void main (String [] args) {

       Scanner scnr = new Scanner(System.in);

       int numRows;

       int numColumns;

       int currentRow;

       int currentColumn;

       char currentColumnLetter;

       numRows = scnr.nextInt();

       numColumns = scnr.nextInt();

       for (currentRow = 0; currentRow < numRows; currentRow++) {

           currentColumnLetter = 'A';

           for (currentColumn = 0; currentColumn < numColumns; currentColumn++) {

               System.out.print(currentRow + 1);

               System.out.print(currentColumnLetter + " ");

               currentColumnLetter++;

           }

       }

       System.out.println("");

   }

}

2

3

1A  1B  1C  2A  2B  2C

thanks

You might be interested in
Select all that apply.
garik1379 [7]

uhh , not all girls are like that. many of em these days are more career oriented and thats good i guess , so if anything ur just being judgy a f here.

5 0
3 years ago
The current at resonance in a series L-C-R circuit is 0.2mA. If the applied voltage is 250mV at a frequency of 100 kHz and the c
iVinArrow [24]

Answer:

  • The resistance of the circuit is 1250 ohms
  • The inductance of the circuit is 0.063 mH.

Explanation:

Given;

current at resonance, I = 0.2 mA

applied voltage, V = 250 mV

resonance frequency, f₀ = 100 kHz

capacitance of the circuit, C = 0.04 μF

At resonance, capacitive reactance (X_c) is equal to inductive reactance (X_l),

Z = \sqrt{R^2 + (X_ l - X_c)^2} \\\\But \ X_l= X_c\\\\Z = R

Where;

R is the resistance of the circuit, calculated as;

R = \frac{V}{I} \\\\R = \frac{250 \ \times \ 10^{-3}}{0.2 \ \times \ 10^{-3}} \\\\R = 1250 \ ohms

The inductive reactance is calculated as;

X_l = X_c = \frac{1}{\omega C} = \frac{1}{2\pi f_o C} = \frac{1}{2\pi (100\times 10^3)(0.04\times 10^{-6} ) } = 39.789 \ ohms\\

The inductance is calculated as;

X_l = \omega L = 2\pi f_o L\\\\L = \frac{X_l}{2\pi f_o}\\\\L = \frac{39.789}{2\pi (100 \times 10^3)}  \\\\L= 6.3 \ \times \ 10^{-5} \ H\\\\L = 0.063 \times \ 10^{-3} \ H\\\\L = 0.063 \ mH

5 0
3 years ago
Describe the role of C-S-H in providing strength for cement. Discuss which compounds produce C-S-H and why balancing the amounts
wariber [46]

Answer:

Following are the solution to this question:

Explanation:

Whenever a chemical reaction occurs between water and cement the heat is released, and a CaOSiO_2H_2O (C-S-H gel) gel constructs gel is also recognized as "tobermorite gel."

This one gel acts like a pack of gum and also has a cement quality, that holds its particles intact and therefore contributes to the overall compression mix. An increase in supply explicitly causes the movement in the outcome of power. C3S and C2S are both the compounds of Bouge that produce hydration C-S-H gel.

It mixture must be balanced as Ca(OH)_2 with C-S-H gel also is given as a byproduct. It Ca(OH)_2 , that cause sudden with sulphate and form CaSO_4 , is an unacceptable substance. Sulfate attack or later deterioration of its cement is caused by this CaSO_4 .

All C3S and C2S generate various amounts of C-S-H gel so, the required strength can be maintained without compromising on real term durability.

8 0
3 years ago
प्रहार का समरूपी भिन्नार्थक शब्द अर्थ के साथ ​
Reika [66]

Answer:

uhvdiuuauivhsifuhviudshivuhrwwwwwgyuvrrrrrrvuybgdwdoushduhsfuhdsiufhduisfhsofhuaifhuadsihfuiahfuidhsfiuhdsiufhdsaigsdygfewyihfiewbvhwegfiyerrrgqewfygediyfgdsyifguysdgfyuuaegfuyaeggfuyegwfyugewafuyegwiufggeegfyusdggfsgodqwufyew98fyyy79ewyf7eywf8777etf87tewtf

Explanation:

djhidhfdiushfiudshfui

3 0
3 years ago
The difference in quantity between the add and full marks on an engine oil dipstick is typically
svetoff [14.1K]

Answer:

1 quart (0.9 liters).

Explanation:

A proper inspection of various systems and components in a vehicle at regular intervals is very important and necessary because it helps to ensure that the vehicle is in a safe and reliable condition.

Generally, these inspection includes tyres, lighting systems, fan belts, shock absorbers, fluid (oil and water) level, etc. If any fault or concern is detected in the course of an inspection, it should be noted for quick repair or servicing by an expert technician.

All automobile engine requires an adequate amount of engine oil as a lubricant so as to mitigate friction and enhance proper functionality of the vehicle. Thus, the proper functionality of an engine is largely dependent on the level of the engine oil; it shouldn't be too low or high.

Basically, the engine oil should be checked at regular intervals (periodically) and should be on the level indicated or chosen by the manufacturer of the vehicle.

A dipstick is designed to be used for checking the engine oil level in a vehicle and it is marked with lines indicating minimum and maximum, low and high or add and full.

The difference in quantity between the add and full marks on an engine oil dipstick is typically 1 quart (0.9 liters).

5 0
3 years ago
Other questions:
  • Some signs of aggressive drivers include
    5·1 answer
  • Matthew wants to manufacture a large quantity of products with standardized products having less variety. Which type of producti
    5·1 answer
  • What are the different branches of engineering involved in manufacturing a general-purpose elevator?
    6·1 answer
  • Which of the following statements about pitot-static systems is FALSE? a). A pitot probe measures the Total Pressure of the free
    10·1 answer
  • 5 kg of a wet steam has a volume of 2 m3
    8·1 answer
  • Question 5(Multiple Choice Worth 2 points)
    10·1 answer
  • Test if a number grade is an A (greater than or equal to 90). If so, print "Great!". Hint: Grades may be decimals. Sample Run En
    15·1 answer
  • An HVAC contracting company sent out three work crews to complete three
    10·1 answer
  • What are the BENEFITS and RISKS of using automobiles?
    10·1 answer
  • Which of the following might a cement mason or concrete finisher be responsible for? (Select all that apply).
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!