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(n) _____________ is used commonly in open split-phase motors to disconnect the start winding from the electrical circuit when
Alenkasestr [34]

A <u>centrifugal switch</u> is used commonly in open split-phase motors to disconnect the start winding from the electrical circuit when the motor reaches approximately 75% of its rated speed.

Hope that helps!

7 0
3 years ago
What is brainstorming and why is it important to create the perfect solution to a problem? giving brainliest to the first answer
Diano4ka-milaya [45]
Brainstorming allows people to think freely without judge, or fear to share there answer. Basically encourages people to open up to what they believe.
5 0
3 years ago
If you were to plot the voltage versus the current for a given circuit, what would you expect the slope of the line to be? If no
Brut [27]

Answer:

Part 1: It would be a straight line, current will be directly proportional to the voltage.

Part 2: The current would taper off and will have negligible increase after the voltage  reaches a certain  value. Graph attached.

Explanation:

For the first part, voltage and current have a linear relationship as dictated by the Ohm's law.

V=I*R

where V is the voltage, I is the current, and R is the resistance. As the Voltage increase, current is bound to increase too, given that the resistance remains constant.

In the second part, resistance is not constant. As an element heats up, it consumes more current because the free sea of electrons inside are moving more rapidly, disrupting the flow of charge. So, as the voltage increase, the current does increase, but so does the resistance. Leaving less room for the current to increase. This rise in temperature is shown in the graph attached, as current tapers.

7 0
3 years ago
When plotting a single AC cycle beginning at zero degrees and moving forward in time the cycles negative peak occurs at
Lana71 [14]

Answer:A 270 degrees

Explanation:

4 0
3 years ago
n the Spring of 2015, three utility companies in the Ukraine received email purporting to come from Ukraine's parliament, the Ra
Tresset [83]

Answer:

Trojan horse

Explanation:

A trojan horse attack is a type of malware that misleads users, as it appears unsuspicious at first, but actually presents a threat to the user. A common example is that of an email that contains a malicious attachment. Another common example is that of a fake advertisement. The name comes from the Greek story of the Trojan horse that led to the fall of the city of Troy.

5 0
3 years ago
Other questions:
  • A room has a width of 14.1 feet, a length of 15.5 feet, and a ceiling height of 12.0 ft. The average flow rate for this room's a
    6·1 answer
  • The arm of the robot is extending at a constant rate = 1.5 ft/s when r = 3 ft, z = (4t2) ft, and  = (1.5 t) rad, where t is in
    14·1 answer
  • A 1000 KVA three phase transformer has a secondary voltage of 208/120. What is the secondary full load amperage?
    9·1 answer
  • Both equilibrium equations and constitutive models are needed to solve statically indeterminate problems. a)- True b)-False
    13·1 answer
  • An object at a vertical elevation of 20 m and a speed of 5 m/s decreases in elevation to an elevation of 1 m. At this location,
    15·1 answer
  • A soil element is subjected to a minor principle stress of 50 kPa on a plane rotated 20 ° counterclockwise from vertical. If the
    10·1 answer
  • name the process by which mild steel can be converted into high carbon steel and explain it briefly ?​
    12·1 answer
  • Find the remaining trigonometric functions of 0 if
    10·1 answer
  • Why do engineers play a variety of roles in the engineering process?
    6·1 answer
  • A complete mix of an activated sludge system without primary clarification is used for treatment of municipal wastewater with a
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!