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
Using leftover paint colors is acceptable in a paint shop and will help cut down on waste.
Luden [163]
Im pretty sure it is true !
3 0
3 years ago
Read 2 more answers
Which option identifies the type of device the engineer will develop in the following scenario?
Stells [14]
It would be actuator
4 0
2 years ago
Read 2 more answers
Primary Creep: slope (creep rate) decreases with time
Igoryamba

Answer:

true

Explanation:

Creep is known as the time dependent deformation of structure due to constant load acting on the body.

Creep is generally seen at high temperature.

Due to creep the length of the structure increases which is not fit for serviceability purpose.

When time passes structure gain strength as the structure strength increases with time so creep tends to decrease.

When we talk about Creep rate for new structure the creep will be more than the old structure i.e. the creep rate decreases with time.

5 0
3 years ago
In a hydraulic system, accumulator is a device that collects liquid and keeps the liquid under pressure.
Bumek [7]
The answer is: true
6 0
3 years ago
4. Partnership programs between schools and the owners
rusak2 [61]

Answer:

Automotive Technology Program

Explanation:

Basically hiring students for hands on training to learn the basics of mechanics.

4 0
3 years ago
Other questions:
  • Suppose that a wireless link layer using a CSMA-like protocol backs off 1ms on average. A packet’s link and physical layer heade
    5·1 answer
  • Assuming that the following three variables have already been declared, which variable will store a Boolean value after these st
    14·1 answer
  • What is the composition, in atom percent, of an alloy that contains 44.5 lbmof Ag, 83.7 lbmof Au, and 5.3 lbmof Cu? What is the
    9·1 answer
  • What is the linear distance traveled in one revolution of a 36-inch wheel
    6·1 answer
  • Velocity and temperature profiles for laminar flow in a tube of radius ro = 10 mm have the form: u(r) = 0.15[1 − (r/ro ) 2 ] T(r
    11·1 answer
  • A 150-lbm astronaut took his bathroom scale (a spring scale) and a beam scale (compares masses) to the moon where the local grav
    13·1 answer
  • Your local hospital is considering the following solution options to address the issues of congestion and equipment failures at
    6·1 answer
  • The efficiency of a steam power plant can beincreased by bleeding off some of the steam thatwould normally enter the turbine and
    15·1 answer
  • For a small company it's usually best to keep the corporate and brand image as___ as possible​
    9·1 answer
  • On some engines after torquing cylinder head fasteners you must
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!