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
How can input from multiple individuals improve design solutions for problems that occur because of a natural disaster, such as
Alla [95]

Answer:

Map and avoid high-risk zones.

Build hazard-resistant structures and houses.

Protect and develop hazard buffers (forests, reefs, etc.)

Develop culture of prevention and resilience.

Improve early warning and response systems.

Build institutions, and development policies and plans.

Explanation:

5 0
3 years ago
State five applications of thermochromic materials
rusak2 [61]

Explanation:

The end-use industries of thermochromic materials include packaging, printing & coating, medical, textile, industrial, and others. Printing & coating is the fastest-growing end-use industry of thermochromic materials owing to a significant increase in the demand for thermal paper for POS systems. The use of thermochromic materials is gaining momentum for interactive packaging that encourages consumers to take a product off the shelf and use it.

8 0
3 years ago
The Micro:bit is considered a what?
Scrat [10]

Sorry need points I'm new

3 0
3 years ago
Write a C program that asks the user to enter two numbers, obtains the two numbers from the user and prints the sum, product, di
Bogdan [553]

Answer:

View Image

Explanation:

Initialize your variable as a float or double since you're going to be using fractions in your answer.

User scanf() to get user input.

Print out the sum, product, quotient, and difference between the two numbers.

8 0
3 years ago
4. The outer end of a control arm is attached to the steering knuckle through a
arlik [135]
Is attached to the spring
3 0
3 years ago
Read 2 more answers
Other questions:
  • if a voltage is applied to a capacitor, current flows easily at first and then slows as the capacitor becomes charged. Inductors
    5·1 answer
  • When wasDisney Cruise Line founded
    5·1 answer
  • typedef struct bitNode { int data; struct bitNode *left; struct bstNode *right; } bstNode; int solve(bstNode* root) { if (root =
    15·1 answer
  • This app, I'm done, bye... I can't, bye
    11·1 answer
  • Give six reasons why farmers cultivate on small land​
    5·1 answer
  • Implement a program that manages shapes. Implement a class named Shape with a method area() which returns the double value 0.0.
    8·1 answer
  • Make a sketch of a simple mechanically expanded brake and indicate the forces ​ ​ acting on the leading shoe when the brake is a
    10·1 answer
  • Stress that acts in the plane of a cut section, rather than at right angles to the section is called:_______
    6·1 answer
  • Select the correct answer.
    12·1 answer
  • Which option identifies why Ethan’s skills are valuable to his team in the following scenario?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!