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 the nine Historical periods?
Rufina [12.5K]

Answer:

https://quizlet.com/148993376/the-nine-distinct-periods-of-time-flash-cards/

Explanation:

you can find them all : )

7 0
2 years ago
Which of the following is not a relationship set between elements in a sketch​
Svet_ta [14]

Answer:

The entity relationship (ER) data model has existed for over 35 years. It is well suited to data modelling for use with databases because it is fairly abstract and is easy to discuss and explain. ER models are readily translated to relations. ER models, also called an ER schema, are represented by ER diagrams.

6 0
2 years ago
According to the
zysi [14]

Answer:

The part of the system that is considered the resistance force is;

B

Explanation:

The simple machine is a system of pulley  that has two pulleys

The effort, which is the input force at A gives the value of the tension at C and  D which are used to lift the load B

Therefore, we have;

A = C = D

B = C + D = C + C = 2·C

∴ C = B/2

We have;

C = B/2 = A

Therefore, with the pulley only a force, A equivalent to half the weight, B, of the load is required to lift the load, B

The resistance force is the constant force in the system that that requires an input force to overcome in order for work to be done

It is the force acting to oppose the sum of the other forces system, such as a force acting in opposition to an input force

Therefore, the resistance force is the load force, B, for which the input force, A, is required in order for the load to be lifted.

3 0
3 years ago
Relay contacts that are defined as being normally open (n.o.) have contacts that are:_____.
Reptile [31]

Relay contacts that are defined as being normally open (n.o.) have contacts that are open only if  the relay coil is known to have de-energized.

<h3>What is meant by normally open contacts?</h3>

Normally open (NO) are  known to be open if there is no measure of current that is flowing through a given coil but it often close as soon as the coil is said to be energized.

Note that  Normally closed (NO) contacts are said to be closed only if the coil is said to be de-energized and open only if the coil is said to carry current or is known to have energized.

The role of relay contact is wide. The Relays are tools that are often used in the work of  switching of control circuits and it is one that  a person cannot used for power switching that has relatively bigger ampacity.

Therefore, Relay contacts that are defined as being normally open (n.o.) have contacts that are open only if  the relay coil is known to have de-energized.

Learn more about Relay contacts from

brainly.com/question/15334861
#SPJ1

8 0
1 year ago
The universe is sometimes described as an isolated system. Why?
Romashka [77]

Answer and Explanation :The universe means it includes everything, even the things which we can not see is an isolated system because universe has no surroundings. an isolated system does not exchange energy or matter with its surroundings.Sometime universe is treated as isolated system because it obtains lots of energy from the sun but the exchange of matter or energy with outside is almost zero.

  • the total energy of an isolated system is always constant means total energy of universe is also constant
  • there is no exchange of matter or energy in an isolated system
8 0
3 years ago
Other questions:
  • Water at 20oC, with a free-stream velocity of 1.5 m/s, flows over a circular pipe with diameter of 2.0 cm and surface temperatur
    13·1 answer
  • If the resistance reading on a DMM'S meter face is to 22.5 ohms in the range selector switch is set to R X 100 range, what is th
    5·1 answer
  • How does flextape adhere under water?​
    8·1 answer
  • 1)A wheel is used to turn a valve stem on a water valve. If the wheel radius is 1 foot and the stem, (axle), radius is .5 inches
    10·1 answer
  • How can goal setting help with academic performance?
    13·1 answer
  • What is kinetic energy?
    5·2 answers
  • Four eight-ohm speakers are connected in parallel to an audio power amplifier. The amplifier can supply a maximum driver output
    12·1 answer
  • A Carnot heat engine absorbs 235 KW of heat from a heat source and rejects 164 KW to the atmosphere. Determine the thermal effic
    7·1 answer
  • I will mark brainliest.
    6·2 answers
  • PLEASE FIX THIS LUA SCRIPT
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!