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
Ymorist [56]
3 years ago
10

. Carly's Catering provides meals for parties and special events. In Chapter 2, you wrote an application that prompts the user f

or the number of guests attending an event, displays the company motto with a border, and then displays the price of the event and whether the event is a large one. Now modify the program so that the main() method contains only three executable statements that each call a method as follows:
Engineering
1 answer:
klio [65]3 years ago
6 0

Answer:

Explanation:

public class Event

  public final static int PRICE_PER_GUEST = 35;

  public final static int CUT_OFF = 50;

 

  //Attributes

  private String eventNum;

  private int noOfGuest;

  private int price;

 

  /**

  * param eventNum the eventNum to set

  */

  public void setEventNum(String eventNum)

      this.eventNum = eventNum;

 

 

  /**

  * param noOfGuest the noOfGuest to set

  */

  public void setNoOfGuest(int noOfGuest)

      this.noOfGuest = noOfGuest;

      this.price = this.noOfGuest * PRICE_PER_GUEST;

 

 

  /**

  * return the eventNum

  */

  public String getEventNum()

      return eventNum;

 

 

  /**

  * return the noOfGuest

  */

  public int getNoOfGuest()

You might be interested in
What are practical considerations you might encounter when you increase the moment of inertia (I) while keeping the cross-sectio
Mrrafil [7]

Answer:

The answer is below

Explanation:

The practical considerations you might encounter when you increase the moment of inertia (I) while keeping the cross-sectional area fixed are:

1. Shapes of moment of inertia: Engineers should consider or know the different shapes of moment of inertia for different shape

2. Understanding the orientation of the beam: this will allow engineers to either increase or decrease the moment of inertia of a beam without increasing its cross sectional area.

4 0
2 years ago
Which situation might cause potential hazards at a construction site?
nata0808 [166]

Answer:

D. protruding steel rebars .. #answerwithquality #BAL

5 0
3 years ago
Read 2 more answers
Free ideas free points. You will be reported for answering "no" or I don't know
KengaRu [80]

Answer:

Here are some cool ideas that you could do

-Zero fuel aircraft

-Advanced Space Propulsion Technologies

-Smart Automation and Blockchain

These are some things I've been working on for a few years lol, maybe you will have more luck

5 0
3 years ago
If 200 amperes flow from the positive terminal of a battery and operate the starter motor, how many amperes will flow back to th
garri49 [273]

Answer:

200 Amperes WB =<em> </em>200J

Explanation:

200 Amperes will flow back to the negative terminal because both the positive terminal and negative terminal contain the equivalent amount of current that will flow and it works in the starter motor.

To learn more about it, refer

to brainly.com/question/6561461

#SPJ4

5 0
2 years ago
Using an "AND" and an "OR", list all information (Equipment Number, Equipment Type, Seat Capacity, Fuel Capacity, and Miles per
Tomtit [17]

Answer:

Explanation :

The given  information to be listed can are Equipment Number, Equipment Type, Seat Capacity, Fuel Capacity, and Miles per Gallon.

Check the attached document for the solution.

5 0
3 years ago
Other questions:
  • The first step to merging is entering the ramp and _____.
    10·1 answer
  • Not a characteristic property of ceramic material (a) high temperature stability (b) high mechanical strength (c) low elongation
    7·2 answers
  • How much time does it take a freezer to make a tray of ice cubes out of a tray of 0.25kg liquid water at 10 Celsius). Assume the
    13·1 answer
  • given the classes above, what output is produced by the following code? meg[] elements ={new Lois(), new Stewie(), new Meg(), ne
    15·1 answer
  • What are the different branches of engineering involved in manufacturing a general-purpose elevator?
    6·1 answer
  • You are analyzing an open-return wind tunnel that intakes air at 20 m/s and 320K. When the flow exits the wind tunnel it is movi
    14·2 answers
  • Determine the average power, complex power and power factor (including whether it is leading or lagging) for a load circuit whos
    9·2 answers
  • W<br>n só<br>i<br>Eo<br>E<br>find the transfer function​
    9·1 answer
  • Respond with TRUE if the symbol of the valve shown belows
    5·1 answer
  • 100000000000x1000000000000=?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!