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
Naily [24]
3 years ago
6

Write an application that reads three integers, adds all three together, computes an average of the three entries, and computes

any remainder of the integer division. A remainder represents the modulus result of dividing an even by an odd number or vice versa. Display the output.
Engineering
1 answer:
Natali5045456 [20]3 years ago
3 0

Answer:

//The program prompts user to input three integers and it displays them, adds and gets their average

//begin

public class Test

{

  public static void Main()

  {

     //input intergers

int[] score = new int[3];

      int avg,rem,sum = 0;

     

      for(int i=0;i<3;i++)

      {

      Console.WriteLine("Enter an integer score ");

      score[i] = Convert.ToInt32(Console.ReadLine());

      sum = sum + score[i];

      }

      avg = sum/3;

      rem = sum%3;

     

      Console.WriteLine("The average of "+score[0]+","+score[1]+","+score[2]+" is "+avg +" with a remainder of "+rem);

     

  }

}

You might be interested in
Your sprayer has a 60-foot wide boom with 36 nozzles along this 60-foot length. Your spray speed is 4.5 miles per hour and you w
Mice21 [21]

Answer:

358.52 m/s

Explanation:

From the information given:

The required amount you should catch per nozzle in 15 secs. can be  determined by using the formula:

Gallons/Min  = \dfrac{(Gallons/Acre \times Miles/Hour \times  nozzle \ spacing )}{5940}

where;

Gallons/Acre  = 25 GPA

= \dfrac{(25 \times 4.5 \times 60 \times \dfrac{12}{ 36})}{5940} \times \dfrac{15}{60}

= \dfrac{(25 \times 4.5 \times 60 \times0.333)}{5940} \times 0.25

= \dfrac{(2247.75)}{5940} \times 0.25

= 0.0946 gps

= 358.52 m/s

4 0
3 years ago
You rent an apartment that costs $1800 per month during the first year, but the rent is set to go up 11,5% per year. What would
11111nata11111 [884]

how many years are they living in it for, there isnt all the information, because we wouldnt know when to stop.

4 0
2 years ago
Wqqwfqwfqwfqfqfqffqwffqwqfqqfqfqffqqfqfwccc
almond37 [142]

Answer:

?

Explanation:

4 0
3 years ago
Read 2 more answers
For a bronze alloy, the stress at which plastic deformation begins is 266 MPa and the modulus of elasticity is105 GPa.
pentagon [3]

Answer:

88750 N

Explanation:

given data:

plastic deformation σy=266 MPa=266*10^6 N/m^2

cross-sectional area Ao=333 mm^2=333*10^-6 m^2

solution:

To determine the maximum load that can be applied without

plastic deformation (Fy).

Fy=σy*Ao

   =88750 N

7 0
2 years ago
Mohr's circle represents: A Orientation dependence of normal and shear stresses at a point in mechanical members B The stress di
blsea [12.9K]

Answer:

The correct answer is A : Orientation dependence of normal and shear stresses at a point in mechanical members

Explanation:

Since we know that in a general element of any loaded object the normal and shearing stresses vary in the whole body which can be mathematically represented as

\sigma _{x'x'}=\frac{\sigma _{xx}+\sigma _{yy}}{2}+\frac{\sigma _{xx}-\sigma _{yy}}{2}cos(2\theta )+\tau _{xy}sin(2\theta )

And \tau _{x'x'}=-\frac{\sigma _{xx}-\sigma _{yy}}{2}sin(2\theta )+\tau _{xy}cos(2\theta )

Mohr's circle is the graphical representation of the variation represented by the above 2 formulae in the general oriented element of a body that is under stresses.

The Mohr circle is graphically displayed in the attached figure.

4 0
2 years ago
Other questions:
  • You read a research study that concludes that the higher a student's self-esteem, the better he performs in school. This sort of
    5·1 answer
  • A gear box’s shaft is made of a hollow circular steel tube with allowable yield stress equal to σa????????o???? . The shaft is l
    7·1 answer
  • When a group of firms chooses to work together to turn a non-monopoly market into a monopoly market by securing formal agreement
    8·1 answer
  • How do batteries and other types of power sources make physical computing systems more mobile?
    15·2 answers
  • Ion 2 23
    10·1 answer
  • Which of the code pieces below should replace the underline?public class Test{public static void main(String[] args){Test test =
    8·1 answer
  • A thick spherical pressure vessel of inner radius 150 mm is subjected to maximum an internal pressure of 80 MPa. Calculate its w
    9·1 answer
  • The Greek alphabet has 24 distinct lowercase letters. How many bits are needed to be able to encode any single lowercase Greek l
    9·1 answer
  • Opposition to current flow, restricts or resists current flow
    15·1 answer
  • Zack's new home is progressing well, and the foundation work is finished. The general contractor stops by Zack's present home to
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!