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
A screw is a simple machine that can be described as an inclined plane wrapped around a cylinder.
Phoenix [80]

Answer:

thanks thanks thanks thanks

Explanation:

7 0
3 years ago
technician a uses a current output test to check ac generator output. technician b uses a voltage output test to check output. w
expeople1 [14]

Answer:

both

Explanation:

Both the technician are correct, ac generator output can be tested in both ways. The two ways are  current output test to check ac generator output. and  voltage output test to check output.

7 0
3 years ago
Which of the following describes the most direct and attainable way to reduce pollution in the environment?
kirill115 [55]

Answer:

i think its A. increasing research to find alternative natural resources for the future

5 0
3 years ago
Read 2 more answers
When _____ ,the lithium ions are removed from the_____ and added into the _____
bezimeni [28]

Answer:

b. Discharging; anode; cathode

Explanation:

When discharging , it means the battery is producing a flow electric current, the lithium ions are released from the  anode to the cathode which generates the flow of electrons from one side to another. When charging Lithium ions are released by the cathode and received by the anode.

8 0
3 years ago
Based on the results of each group records which group makes the most precise measurements of the object
ValentinkaMS [17]
Do you know the answer
8 0
3 years ago
Read 2 more answers
Other questions:
  • Line.
    9·1 answer
  • . A storm sewer is carrying snow melt containing 1.200 g/L of sodium chloride into a small stream. The stream has a naturally oc
    8·1 answer
  • Why research and development in Maintenance Engineering?
    6·1 answer
  • Air modeled as an ideal gas enters a well-insulated diffuser operating at steady state at 270 K with a velocity of 180 m/s and e
    11·1 answer
  • You can assume there is no pressure drop between the exit of the compressor and the entrance of the turbine. All the power from
    15·1 answer
  • Explain the use of remote sensing in surveying.​
    8·1 answer
  • Please write the following code in Python 3. Also please show all output(s) and share your code.
    10·1 answer
  • A crystalline grain of aluminum in a metal plate is situated so that a tensile load is oriented along the [1 1 1] direction. Wha
    9·1 answer
  • A series of end-milling cuts is currently used to produce an aluminum part that is an aircraft component. The purpose of the mac
    14·1 answer
  • Dear sir i want to ask something about the solution of my question?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!