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
Which allows a user to run applications on a computing device? Group of answer choices Application software CSS Operating system
sveticcg [70]

Answer:

The operating system

Explanation:

The job of the operating system is to manage system resources allowing the abstraction of the hardware, providing a simple user interface for the user.  The operating system is also responsible for handling application's access to system resources.

For this purpose, the operating system allows a user to run applications on their computing device.

Cheers.

4 0
3 years ago
An ideal neon sign transformer provides 9130 V at 51.0 mA with an input voltage of 240 V. Calculate the transformer's input powe
BaLLatris [955]

Answer:

Input power = 465.63 W

current = 1.94 A

Explanation:

we have the following data to answer this question

V = 9130

i = 0.051

the input power = VI

I = 51.0 mA = 0.051

= 9130 * 0.051

= 465.63 watts

the current = 465.63/240

= 1.94A

therefore the input power is 465.63 wwatts

while the current is 1.94A

the input power is the same thing as the output power.

4 0
3 years ago
List two important things to remember when using an ammeter.
Radda [10]

Answer:

Ammeters must always be connected in series with the circuit under test. Always start with the highest range of an ammeter. Deenergize and discharge the circuit completely before you connect or disconnect the ammeter. In dc ammeters, observe the proper circuit polarity to prevent the meter from being damaged.

Explanation:

3 0
3 years ago
The difference in quantity between the add and full marks on an engine oil dipstick is typically
svetoff [14.1K]

Answer:

1 quart (0.9 liters).

Explanation:

A proper inspection of various systems and components in a vehicle at regular intervals is very important and necessary because it helps to ensure that the vehicle is in a safe and reliable condition.

Generally, these inspection includes tyres, lighting systems, fan belts, shock absorbers, fluid (oil and water) level, etc. If any fault or concern is detected in the course of an inspection, it should be noted for quick repair or servicing by an expert technician.

All automobile engine requires an adequate amount of engine oil as a lubricant so as to mitigate friction and enhance proper functionality of the vehicle. Thus, the proper functionality of an engine is largely dependent on the level of the engine oil; it shouldn't be too low or high.

Basically, the engine oil should be checked at regular intervals (periodically) and should be on the level indicated or chosen by the manufacturer of the vehicle.

A dipstick is designed to be used for checking the engine oil level in a vehicle and it is marked with lines indicating minimum and maximum, low and high or add and full.

The difference in quantity between the add and full marks on an engine oil dipstick is typically 1 quart (0.9 liters).

5 0
3 years ago
Discuss 7 habits of highly effective people and how important are ethics in today's society​
kompoz [17]

Answer:

Explanation:

The 7 Habits of Highly Effective People, is a book written and first published in 1989. It is a business and self-help book that was written by Stephen Covey. The seven habits include

Being proactive

Starting anything with the end in mind

First things first

Always thinking towards a win-win situation

Seeking initially to understand, then going on to want to be understood

Synergize, and lastly

Growing

7 0
3 years ago
Other questions:
  • A well-insulated, rigid tank, having a volume of 2 m3 , contains saturated water vapor at 120 ◦C. The water is stirred until the
    13·1 answer
  • In which type of restaurant do customers order and pay before eating?
    5·1 answer
  • You are riding in an elevator that is going up at 10 ft/s. You are holding your cell phone 5 ft above the floor when it suddenly
    12·1 answer
  • What are the four causes of electrical faults?
    5·1 answer
  • Write a class named FBoard for playing a game, where player x is trying to get her piece to row 7 and player o is trying to make
    7·1 answer
  • HELP PLS<br> Is a book a solid, frame, shell or combination and WHY
    6·2 answers
  • One of the personality traits listed for a cement mason is attention to detail.
    11·1 answer
  • Which of the following explains the purpose of a convertible screwdriver?
    9·1 answer
  • What is the physical mechanism that causes the friction factor to be higher in turbulent flow?
    13·1 answer
  • A. Imagine the white car in the left lane is moving more slowly than the surrounding traffic. How is this a violation of a state
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!