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 fuel cell vehicle draws 50 kW of power at 70 mph and is 40% efficient at rated power. You are asked to size the fuel cell syst
svetoff [14.1K]

Answer:

  a) fuel cell weight and volume: 50 kg, 33.3 L

  b) fuel tank weight and volume: 321 kg, 643 L

Explanation:

<u>Fuel Cell</u>

Delivery of 50 kW from a source with a power density of 1.5 kW/L requires a source that has a volume of ...

  (50 kW)/(1.5 kW/L) = 33.3 L

The weight of the power source is 1 kW/kg, so will be ...

  (50 kW)/(1 kW/kg) = 50 kg

__

<u>Fuel Tank</u>

400 miles at 70 mph will take (400/70) h ≈ 5.71429 h. In that time, the energy used by the vehicle power plant is ...

  (50 kW)(5.71429 h)(3600 s/h) = 1028.57 MJ

Since the power plant is 40% efficient, it must be supplied with 2.5 times that amount of energy, or 2571.43 MJ.

The tank volume and mass will then be ...

  volume = 2571.43 MJ/(4 MJ/L) = 642.9 L

  mass = 2571.43 MJ/(8 MJ/L) = 321.4 kg

_____

<em>Comment on fuel tank volume</em>

It appears the fuel tank would need to be equivalent in size to a sphere about 1.1 m in diameter.

4 0
3 years ago
HfrrghhJbfrfefefft nbgyjjiutrwdgju
Tasya [4]

Answer:

hshdhriwjajaldh skshdjdywuusg

Explanation:

null

4 0
2 years ago
The roof of a refrigerated truck compartment consists of a layer of foamed urethane insulation (t2 = 21 mm, ki = 0.026 W/m K) be
lakkis [162]

Answer:

Tso = 28.15°C

Explanation:

given data

t2 = 21 mm

ki = 0.026 W/m K

t1 = 9 mm

kp = 180 W/m K

length of the roof is L = 13 m

net solar radiation into the roof = 107 W/m²

temperature of the inner surface Ts,i = -4°C

air temperature is T[infinity] = 29°C

convective heat transfer coefficient h = 47 W/m² K

solution

As when energy on the outer surface at roof of a refrigerated truck that is balance as

Q = \frac{T \infty - T si }{\frac{1}{hA}+\frac{t1}{AKp}+\frac{t2}{AKi}+\frac{t1}{aKp}}       .....................1

Q = \frac{T \infty - Tso}{\frac{1}{hA}}                         .....................2

now we compare both equation 1 and 2 and put here value

\frac{29-(-4)}{\frac{1}{47}+\frac{2\times0.009}{180}+\frac{0.021}{0.026}} = \frac{29-Tso}{\frac{1}{47}}            

solve it and we get

Tso = 28.153113

so Tso = 28.15°C

3 0
2 years ago
What to you do if you have a flat tirer
Vika [28.1K]

Answer: change the tires

Explanation: you can’t drive on a flat tire

6 0
3 years ago
Question 1: Final Results = What are the values of the resistances such that the gain = -100, Rin = 1 MI2. Don't use resistances
lidiya [134]

Answer:

Explanation:

In a study of algebra, you will encounter many families of equations, or groups of

equations that share common characteristics. Of interest to us here is the family of

linear equations in one variable, a study that lays the foundation for understanding

more advanced families. In addition to solving linear equations, we’ll use the skills we

develop to solve for a specified variable in a formula, a practice widely used in science,

business, industry, and research.

A. Solving Linear Equations Using Properties of Equality

An equation is a statement that two expressions are

equal. From the expressions and

we can form the equation

which is a linear equation in one variable. To solve

an equation, we attempt to find a specific input or xvalue that will make the equation true, meaning the

left-hand expression will be equal to the right. Using

Table 1.1, we find that is a

true equation when x is replaced by 2, and is a false

equation otherwise. Replacement values that make

the equation true are called solutions or roots of the equation.

4 0
2 years ago
Other questions:
  • A fluid flows steadily through a pipe with a uniform cross sectional area. The density of the fluid decreases to half its initia
    6·1 answer
  • A solid titanium alloy [G 114 GPa] shaft that is 720 mm long will be subjected to a pure torque of T 155 N m. Determine the mini
    5·1 answer
  • 1. How many types of pumps are present?​
    14·1 answer
  • 3- A cylinder with 0.4kg of Nitrogen gas at 27ºC keeps under pressure by a frictionless piston. Weight of this piston will incre
    6·1 answer
  • 29
    6·1 answer
  • List two possible reasons the engine oil could have a strong gasoline smell
    15·1 answer
  • El protozoos es del reino protista?
    14·2 answers
  • Glyphicons is mainly used for​
    12·1 answer
  • How do you explain the application of regulations in locations containing baths, showers and electric floor heating, including t
    10·1 answer
  • g A thin-walled pressure vessel 6-cm thick originally contained a small semicircular flaw (radius 0.50-cm) located at the inner
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!