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
arlik [135]
3 years ago
15

For java

Engineering
1 answer:
fgiga [73]3 years ago
5 0

Answer:

Explanation:

Hi,

I have updated the code. Hghlighted the code changes below

CourseGradePrinter.java

import java.util.Scanner;

public class CourseGradePrinter {

public static void main (String [] args) {

final int NUM_VALS = 4;

int[] courseGrades = new int[NUM_VALS];

int i = 0;

courseGrades[0] = 7;

courseGrades[1] = 9;

courseGrades[2] = 11;

courseGrades[3] = 10;

for(i=0; i<NUM_VALS; i++){

  System.out.print(courseGrades[i]+" ");

}

System.out.println();

for(i=NUM_VALS-1; i>=0; i--){

  System.out.print(courseGrades[i]+" ");

}

return;

}

}

Output:

7 9 11 10

10 11 9 7

You might be interested in
Sketch the velocity profile for laminar and turbulent flow.
Margarita [4]

Answer:

The laminar flow is generally given in high viscosity fluids such as honey or oil, it has the characteristic of flowing in an orderly manner, the walls of the tube have a zero speed while in the center it has a maximum speed.

turbulent flow is characterized by fluid velocity vectors presenting themselves in a disorderly manner and in all directions.

I attached the drawings for the velocity profile in laminar and turbulent flow.

4 0
3 years ago
Is a compass a analog or a digital sensor?
ollegr [7]
A compass is a analog sensor
5 0
2 years ago
A school is playing $0.XY per kWh for electric power. To reduce its power bill, the school installs a wind turbine with a rated
Semmy [17]

Answer: Your question has some missing figures so kindly plug in the values into the solution provided to get the exact amount of money saved

answer : Electric power generated = 216 * 10^6 kJ

             money saved = $0.XY * 60000 kwh

Explanation:

<u>Calculating  the amount of electric power generated by wind turbine</u>

power generated = ( 30 * 2000 ) kWh  = 60000 kWh

Electric energy generated = 60000 kWh * 3600 kJ = 216 * 10^6 kJ

<u>Calculate money saved by school per year </u>

$0.XY * 60000 kwh

5 0
2 years ago
Concrete ___ support and anchor the bottom of steel columns and wood post, which support beams that are pare of framing system o
dolphi86 [110]
I wanna say it’s D post support
3 0
2 years ago
Carnot heat engine A operates between 20ºC and 520ºC. Carnot heat engine B operates between 20ºC and 820ºC. Which Carnot heat en
nikklg [1K]

Answer:

engine B is more efficient.

Explanation:

We know that Carnot cycle is an ideal cycle for all working heat engine.In Carnot cycle there are four processes in which two are constant temperature processes and others two are isentropic process.

We also kn ow that the efficiency of Carnot cycle given as follows  

\eta =1-\dfrac{T_1}{T_2}

Here temperature should be in Kelvin.

For engine A

\eta =1-\dfrac{T_1}{T_2}

\eta =1-\dfrac{273+20}{520+273}

\eta =0.63

For engine B

\eta =1-\dfrac{T_1}{T_2}

\eta =1-\dfrac{273+20}{820+273}

\eta =0.73

So from above we can say that engine B is more efficient.

4 0
3 years ago
Other questions:
  • Which one of the following statements about the Wright brothers is not true?
    6·1 answer
  • // This program accepts data about 100 books and// determines a price for each.// The price is 10 cents per page for the// first
    12·1 answer
  • The water behind Hoover Dam in Nevada is 221 m higher than the Colorado River below it. At what rate must water pass through the
    6·1 answer
  • Explain why you chose the final design of your prototype and how it solved the identified need
    9·1 answer
  • Python lists are commonly used to store data types. Lists are a collection of information typically called a container. Think of
    5·1 answer
  • A bolt is tightened, subjecting its shank to a tensile stress of 80 kpsi and a torsional shear stress of 50 kpsi at a critical p
    7·1 answer
  • A hot plate with a temperature of 60 C, 50 triangular profile needle wings of length (54 mm), diameter 10 mm (k = 204W / mK) wil
    6·1 answer
  • 1. Using the formula above, complete this task.
    9·1 answer
  • A golfer and her caddy see lightning nearby. the golfer is about to take his shot with a metal club, while her caddy is holding
    12·1 answer
  • What can be used to measure the alcohol content in gasoline? A. Graduated cylinder B. Electronic tester C. Scan tool D. Either a
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!