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
_______ is a material property that pertains to local resistance to plastic deformation, such as scratching or denting. It is of
Readme [11.4K]

Answer: hardness

Explanation:

Hardness is a measure of a material's ability to resist plastic deformation. In other words, it is a measure of how resistant material is to denting or scratching. Diamond, for example, is a very hard material. It is extremely difficult to dent or scratch a diamond. In contrast, it is very easy to scratch or dent most plastics.

7 0
3 years ago
Which two is right about febuary 14
igor_vitrenko [27]

Answer:A and B

Explanation:

3 0
3 years ago
Read 2 more answers
Define Viscosity. What are the main differences between viscous and inviscid flows?
Evgesh-ka [11]

1. Define <em>Viscosity</em>

In physics, <em>Viscosity</em> refers to the level of resistance of a fluid to flow due to internal friction, in other words, viscosity is the result of the magnitude of internal friction in a fluid, as measured by the force per unit area resisting uniform flow. For example, the honey is a fluid with high viscosity while the water has low viscosity.

What are the main differences between viscous and inviscid flows?

Viscous flows are flows that has a thick, sticky consistency between solid and liquid, contain and conduct heat, does not have a rest frame mass density and whose motion at a fixed point always remains constant. Inviscid flows, on the other hand, are flows characterized for having zero viscosity (it does not have a thick, sticky consistency), for not containing or conducting heat, for the lack of steady flow and for having a rest frame mass density

Furthermore, viscous flows are much more common than inviscid flows, while this latter is often considered an idealized model since helium is the only fluid that can become inviscid.

5 0
2 years ago
Which of the following is used in the electrical field?
weeeeeb [17]

Answer:

pliers

Explanation:

because that makes the most sense

6 0
3 years ago
For some transformation having kinetics that obey the Avrami equation, the parameter n is known to have a value of 2. If, after
kotegsom [21]

This question is incomplete, the complete question is;

For some transformation having kinetics that obey the Avrami equation, the parameter n is known to have a value of 2. If, after 100 s, the reaction is 40% complete, how long (total time in seconds) will it take the transformation to go to 95% completion

y = 1 - exp( -ktⁿ )

Answer: the time required for 95% transformation is 242.17 s

Explanation:

First, we calculate the value of k which is the dependent variable in Avrami equation

y = 1 - exp( -ktⁿ )

exp( -ktⁿ ) = 1 - y

-ktⁿ = In( 1 - y )

k = - In( 1 - y ) / tⁿ

now given that; n = 2, y = 40% = 0.40, and t = 100 s

we substitute

k = - In( 1 - 0.40 ) / 100²

k = - In(0.60) / 10000

k = 0.5108 / 10000

k = 0.00005108 ≈ 5.108 × 10⁻⁵

Now calculate the time required for 95% transformation

tⁿ = - In( 1 - y ) / k

t = [- In( 1 - y ) / k ]^1/n

n = 2, y = 95% = 0.95 and k = 5.108 × 10⁻⁵

we substitute our values

t = [- In( 1 - 0.95 ) / 5.108 × 10⁻⁵ ]^1/2

t = [2.9957 / 5.108 × 10⁻⁵]^1/2

t = [ 58647.22 ]^1/2

t = 242.17 s

Therefore the time required for 95% transformation is 242.17 s

8 0
3 years ago
Other questions:
  • The development team recently moved a new application into production for the accounting department. After this occurred, the Ch
    6·1 answer
  • Explicar el funcionamiento de un multímetro analógico.
    7·1 answer
  • Which statement is true for the relay logic diagram shown below?
    9·1 answer
  • Overview In C, a string is simply an array of characters. We have used literal strings all along – the stuff in between the quot
    11·1 answer
  • A 10-mm steel drill rod was heat-treated and ground. The measured hardness was found to be 290 Brinell. Estimate the endurance s
    14·1 answer
  • The 5 ft wide gate ABC is hinged at C and contacts a smooth surface at A. If the specific weight of the water is 62.4 lb/ft3 , f
    8·1 answer
  • Which design activity is part of the design for manufacturability (DFM) methodology?
    10·1 answer
  • How do you build a house.
    15·1 answer
  • Explain the importance of water quality in aquaculture business.
    8·2 answers
  • What were some of the challenges to safety resulting from such radical airframe designs as highly swept wings, high wing loading
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!