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
5
sertanlavr [38]

Answer:

healthcare

Explanation:

6 0
3 years ago
1. advantages of 2 pulley system
n200080 [17]

Answer:

Advantages

The main advantage in the use of pulleys is that the effort becomes less as compared to the normal lifting of the weights. In other words, it reduces the amount of actual force required to lift heavy objects. It also changes the direction of the force applied. These two advantages in the use pulleys make them an important tool for heavy lifting. It also provides a mechanical advantage.

The other advantage in the use of pulleys is that the distance between the operator and weight. There is a safe distance between them which avoids any disaster. Pulleys are easy to assemble and cost-effective. The combination of different directional pulleys can change the position of the load with little effort. Though there are moving parts in the pulley system they require less or no lubrication after installation.

Disadvantages

Apart from the above-said advantages while using pulley systems, there are several disadvantages in their use. The main disadvantage in the use of the pulley system is that it requires large space to install and operate. The mechanical advantage of pulleys can go to higher values but need more space to install them.

In some cases, the ropes/belts move over the wheel with no grooves, the chances of the slip of ropes/belts from the wheel are inevitable. If the system is installed to use for a long time, they require maintenance and regular check-up of ropes/cables as the friction between the wheels and cables/ropes occur causing wear and tear to them. Continuous use of the system makes the ropes weak. The rope may break while using the system causing damages to the operator, surrounding place and the load which is being lifted.

5 0
3 years ago
Explain what the engineering team should advise in the following scenario.
Evgesh-ka [11]

Answer: its c

Explanation:

7 0
3 years ago
9. Imagine that you're performing measurements on a circuit with a multimeter. You measure a total circuit
ratelena [41]

Answer:

C

Explanation:

the total resistance is equal to the total potential difference divided by the Current

3 0
2 years ago
Read 2 more answers
The toggle (t) flip-flop has one input, clk, and one output, q. on each rising edge of clk, q toggles to the complement of its p
jeyben [28]

Answer:

  See attached

Explanation:

The next state of a toggle flip-flop is the inverse of the present state. This behavior can be produced using a D flip-flop that has its input connected to the inverse of its output.

__

A schematic is attached.

7 0
2 years ago
Other questions:
  • Where Does a Solar Engineer Work? <br> (2 sentences or more please)
    14·2 answers
  • Complex poles cmd zeros. Sketch the asymptotes of the Bode plot magnitude and phase for each of the listed open-loop mmsfer fuoc
    10·1 answer
  • A cast-iron tube is used to support a compressive load. Knowing that E 5 10 3 106 psi and that the maximum allowable change in l
    11·1 answer
  • Part A What is the correct expression of the internal torque in segment AB? A shaft is fixed at A. A clockwise distributed torqu
    6·1 answer
  • Fill in the blank to correctly complete the statement below.
    6·1 answer
  • You rent an apartment that costs $1800 per month during the first year, but the rent is set to go up 11,5% per year. What would
    12·1 answer
  • An apple, potato, and onion all taste the same if you eat them with your nose plugged
    8·2 answers
  • Andy is a carpenter and wants to make various articles using engineered wood. Which of these wood types can he use?
    8·2 answers
  • 6.) ___________ is a disadvantage of local storage since it can be very expensive.
    5·1 answer
  • While, Do...while, and For loops can best be characterized as which of the following?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!