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
lys-0071 [83]
3 years ago
7

Extra Credit: The Linc (parking lot and stadium)In celebration of the upcoming Super Bowl, for a maximum 10 points of extra cred

it, you may try to reproduce the ASCII Art shown below of Lincoln Stadium, home of the Philadelphia Eagles. You should still include a class constant for the SIZE; in Dr. Yates' implementation, the SIZE value that produces the picture below is 4, and works for any size >= 2. You must include loops and nested loops to make this work correctly; you CANNOT simply include a separate println statement for each line of the drawing. You will get the full extra credit points only if you duplicate the drawing EXACTLY. (Note: this is a fairly tricky figure to do right.) The parking lot alone is worth a maximum of 2 points.
Engineering
1 answer:
Sidana [21]3 years ago
8 0

Answer:

Explanation:

// Below is the code to draw parking lot only , i have also put the o/p of code.

import java.util.*;

import java.lang.*;

import java.io.*;

public class Linc

{

static int size=4;

static int numBoxes = 1; // one row.

static int height =(int) Math.pow(size, 2); //Just how many | will it have.

static int width = 2; // two boxes in a row

public static void main (String[] args) throws java.lang.Exception

{

top();

printHeight();

}

  public static void top(){

  for(int i = 0; i <= numBoxes*width;i++)

  {

  if(i%width == 0) {//When this happens we're in a new box.

      System.out.print(" ");

      System.out.print("____________");

  }

  else

  System.out.print(" ");

  }

  System.out.println(); //Move to next line.

 

  }

  public static void printHeight(){

  for(int j = 0; j < height;j++){

  for(int i = 0; i <= numBoxes*width;i++)

  {

  if(i%width == 0) {

  System.out.print("|"); //Whenever this happens we're in a new box.

  System.out.print("____________");

     

  }

  else

  System.out.print(" ");

 

  }

  System.out.print("|");

  System.out.println(); //Move to next line.

  }

  }

}

You might be interested in
Consider a very long, cylindrical fin. The temperature of the fin at the tip and base are 25 °C and 50 °C, respectively. The dia
nekit [7.7K]

Answer:

98°C

Explanation:

Total surface area of cylindrical fin = πr² + 2πrl , r = 0.015m; l= 0.1m; π =22/7

22/7*(0.015)² + 22/7*0.015*0.1 = 7.07 X 10∧-4 + 47.1 X 10∧-4 = (54.17 X 10∧-4)m²

Temperature change, t = (50 - 25)°C = 25°C = 298K

Hence, Temperature =  150 X (54.17 X 10∧-4) X 298/123 = 242.14/124 = 2.00K =

∴ Temperature change = 2.00K

But temperature, T= (373 - 2)K = 371 K

In °C = (371 - 273)K = 98°C         

7 0
3 years ago
Bending is defined as? A. the application of a load tending to distort a member in one direction. B. the application of opposing
amm1812
Hi how are you today
4 0
2 years ago
Two parallel Rivers (A and B) are separated by confined and unconfined aquifer estimate the RATE of seepage of river A to River
gizmo_the_mogwai [7]

Answer:

Explanation:

A confined aquifer is one that's impermeable and does not allow seepage's  of water through it.

An unconfined aquifer is a body of water that has permeable membranes which allows passage of water through it.

There will be little or no transmission of water trough these bodies of water.

3 0
3 years ago
Develop a chase plan that matches the forecast and compute the total cost of your plan. (Negative amounts should be indicated by
vladimir2022 [97]

Answer:

The answer for the question :

"Develop a chase plan that matches the forecast and compute the total cost of your plan. (Negative amounts should be indicated by a minus sign. Leave no cells blank - be certain to enter "0" wherever required. Omit the "$" sign in your response.)"

is explained in the attachment.

Explanation:

4 0
3 years ago
A thin-walled cylinder of average radius 50 mm, and wall thickness 1.0 mm is of length 500 mm, and is built into a wall at one e
kotykmax [81]

Answer:

0

Explanation:

7 0
3 years ago
Other questions:
  • The specific volume of mercury is .00007 m^3/Kg. What is its density in lbm/ft^3?
    10·1 answer
  • What are the seven problem solving steps?
    12·1 answer
  • What are the causes of electric shock​
    13·1 answer
  • What is the difference between CNC and NC​
    15·1 answer
  • The annual storage in Broad River watershed is 0 cm/y. Annual precipitation is 100 cm/y and evapotranspiration is 50 cm/y. The s
    10·2 answers
  • A 1 m3 rigid tank initially contains air whose density is 1.18kg/m3. The tank is connected to a high pressure supply line throug
    12·1 answer
  • Suppose that the time (in hours) required to repair a machine is an exponentially distributed random variable with parameter ???
    13·1 answer
  • Prefix version of 6600 volts​
    12·1 answer
  • Proper ventilation is required when welding, so that you don't ____________.
    14·2 answers
  • if stall speed in ktas for an aircraft us 100 ktas at sea level, what is the stall speed in ktas of the aircraft at 5000 ft dens
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!