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]
4 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]4 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
What is 220 C in degrees Fahrenheit (F)?
8_murik_8 [283]

Answer:

428°F

Explanation:

The equation to convert degrees Celsius to degrees fahrenheit is

°F (degrees fahrenheit) = (9/5 * °C (degrees celsius) ) + 32

°F = (9/5 * 220 °C (degrees celsius)) +32 = 428 °F (degrees fahrenheit)

4 0
3 years ago
It is safe to keep a cylinder next to the actual welding or cutting operation, true or false?
Alinara [238K]

Answer:

Explanation:

Cylinders shall be kept far enough away from the actual welding or cutting operation so that sparks, hot s lag, or flame will not reach them. When this is impractical, fire resistant shields shall be provided. Cylinders shall be placed where they cannot become part of an electrical circuit.

7 0
3 years ago
What classes do you have to take in college for be a system software engineer
nata0808 [166]
Engineering, maths and computer courses and more depending on your deficiencies
4 0
3 years ago
A force of 250 N is acting on an area of 2 m2. The pressure is therefore:
lianna [129]

Answer:

125 Pascal

Explanation:

We know that

Pressure=\frac{Force}{Area}

Applying given values we get

Pressure=\frac{250N}{2m^{2}}

Pressure=125\frac{N}{m^{2}}

Pressure = 125 Pascal

7 0
3 years ago
What gadgets are charge coupled devices used in?
Alinara [238K]

Answer:

They are used in imaging application gadgets such as video cameras,TV, surveillance cameras and document scanners

Explanation:

A charge couple device (CCDs) are highly capable in imagery detector.Its common application is in video and digital imaging.The quality of a charge couple device is determined by factors such as the dynamic range, dark charge level and the quantum efficiency.These devices serve the purpose of detecting optical images though some are installed with applications for data storage.

5 0
3 years ago
Other questions:
  • A cylindrical specimen of brass that has a diameter of 20 mm, a tensile modulus of 110 GPa, and a Poisson’s ratio of 0.35 is pul
    13·1 answer
  • Describe each of the following terms in the context of Ajax: a) type-ahead b) edit-in-place c) partial page update d) asynchrono
    11·1 answer
  • Silicon carbide nanowires of diameter D = 15 nm can be grown onto a solid siliconcarbide surface by carefully depositing droplet
    13·1 answer
  • Two sections of a pressure vessel are to be held together by 5/8 in-11 UNC grade 5 bolts. You are told that the length of the bo
    11·1 answer
  • potential difference is the work done in moving a unit positive charge from one point to another in an electric field. State Tru
    12·1 answer
  • 1.<br> Defensive driving involves?
    14·1 answer
  • Are considered a form of personal protective equipment (PPE) for eyes.
    9·1 answer
  • We have a credit charge that is trying to process but we do not remember signing up and email login is not working? Is there a w
    8·1 answer
  • What year is gas powered cars expected stop being produced
    11·2 answers
  • How does science and technology address the problems of the society?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!