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
(a) Determine the dose (in mg/kg-day) for a bioaccumulative chemical with BCF = 103 that is found in water at a concentration of
solmaris [256]

Answer:

0.064 mg/kg/day

6.25% from water, 93.75% from fish

Explanation:

Density of water is 1 kg/L, so the concentration of the chemical in the water is 0.1 mg/kg.

The BCF = 10³, so the concentration of the chemical in the fish is:

10³ = x / (0.1 mg/kg)

x = 100 mg/kg

For 2 L of water and 30 g of fish:

2 kg × 0.1 mg/kg = 0.2 mg

0.030 kg × 100 mg/kg = 3 mg

The total daily intake is 3.2 mg.  Divided by the woman's mass of 50 kg, the dosage is:

(3.2 mg/day) / (50 kg) = 0.064 mg/kg/day

b) The percent from the water is:

0.2 mg / 3.2 mg = 6.25%

And the percent from the fish is:

3 mg / 3.2 mg = 93.75%

3 0
3 years ago
Explain the LWD process why is it important in drilling operations?
barxatty [35]

Answer:

Logging while drilling (LWD) is a technique of conveying well logging tools into the well borehole downhole as part of the bottom hole assembly (BHA). ... In these situations, the LWD measurement ensures that some measurement of the subsurface is captured in the event that wireline operations are not possible.

Explanation:

pls mark brainliest

6 0
2 years ago
You have just finished your OST takeoffs for a single-story home and found 175 LF of interior walls with 2x6 studs 14" OC. The h
zimovet [89]

Answer:

Total BF for the interior wall is 7.50BD

Explanation:

Given Data:

· Size of stud = 2” x 6”

· Height of Wall = 8 ft

· Top plates = 2

· Bottom Plate = 1

BF stands for board feet in lumber/wood terminology. It is the unit of volume.

1 BF (Board feet) = 1 ft x 1 ft x 1 inch

Since there are total three plates at top and bottom, we have to deduct their thickness from wall height to calculate height of stud.

Height of stud = 8’ – 3 x 2” = 7’6” = 7.5 ft

Board feet of one stud = 7.50 6/12 x 2 = 7.50 BD

Total BF for the interior wall is 7.50BD

7 0
3 years ago
Draw the ipo chart for a program that reads a number from the user and display the square of that number ???Anyone please
kompoz [17]

Answer:

See attachment for chart

Explanation:

The IPO chart implements he following algorithm

The expressions in bracket are typical examples

<u>Input</u>

Input Number (5, 4.2 or -1.2) --- This will be passed to the Processing module

<u>Processing</u>

Assign variable to the input number (x)

Calculate the square (x = 5 * 5)

Display the result (25) ----> This will be passed to the output module

<u>Output</u>

Display 25

5 0
3 years ago
3. Low-voltage conductors rarely cause<br> injuries.
hram777 [196]
True
the answer to this would be true
8 0
2 years ago
Other questions:
  • CNG is a readily available alternative to
    5·1 answer
  • The flowchart below shows the design steps required to build a working model.
    6·1 answer
  • What is pneumatic troubleshooting
    6·1 answer
  • Some chemical reaction is being run inside a sealed gas cylinder. During the reaction, a gaseous product is formed. The pressure
    14·1 answer
  • "It is better to be a human being dissatisfied than a pig satisfied; better to be Socrates dissatisfied than a fool satisfied. A
    7·1 answer
  • Why would Chris most likely conclude that he should seek help? A. He feels in control of his emotions even though people annoy h
    15·2 answers
  • A compressor receives air at 290 K, 95 kPa and shaft work of 5.5 kW from a gasoline engine. It should deliver a mass flow rate o
    7·1 answer
  • Two ball bearings from different manufacturers are being considered for a certain application. Bearing A has a catalog rating of
    10·1 answer
  • A system of organization, people activities, informations, and resources involved in supplying a productor or service to a custo
    5·2 answers
  • A fully charged new battery will have a low conductance reading.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!