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
BartSMP [9]
3 years ago
14

I need to write a program that accepts eight int values representing student test scores from the user and then displays each of

the values along with a message that indicates how far it is from the average.
Computers and Technology
1 answer:
belka [17]3 years ago
4 0
Import java.util.Scanner; /*please note that i am writing this program in a way that seems as though it is at your level of experience. I am not using arrays to initialize the integers because from the looks of it, you arent at that level yet.*/public class answerBrainly{       public static Scanner in = new Scanner(System.in);    public static int input1;    public static int input2;    public static int input3;    public static int input4;    public static int input5;    public static int input6;    public static int input7;    public static int input8;    public static void main(String[]args){        System.out.println("Please enter in your first grade: ");        input1=in.nextInt();        System.out.println("Please enter in your second grade: ");        input2=in.nextInt();        System.out.println("Please enter in your third grade: ");        input3=in.nextInt();        System.out.println("Please enter in your fourth grade: ");        input4=in.nextInt();        System.out.println("Please enter in your fifth grade: ");        input5=in.nextInt();        System.out.println("Please enter in your sixth grade: ");        input6=in.nextInt();        System.out.println("Please enter in your seventh grade: ");        input7=in.nextInt();        System.out.println("Please enter in your eighth grade: ");        input8=in.nextInt();        int average = (input1+input2+input3+input4+input5+input6+input7+input8)/8;        System.out.println("Your average is: "+average);        int input1Calc=average-input1;        int input2Calc=average-input2;        int input3Calc=average-input3;        int input4Calc=average-input4;        int input5Calc=average-input5;        int input6Calc=average-input6;        int input7Calc=average-input7;        int input8Calc=average-input8;        System.out.println("Your first grade is "+input1Calc+" points away from the average");        System.out.println("Your second grade is "+input2Calc+" points away from the average");        System.out.println("Your third grade is "+input3Calc+" points away from the average");        System.out.println("Your fourth grade is "+input4Calc+" points away from the average");        System.out.println("Your fifth grade is "+input5Calc+" points away from the average");        System.out.println("Your sixth grade is "+input6Calc+" points away from the average");        System.out.println("Your seventh grade is "+input7Calc+" points away from the average");        System.out.println("Your eighth grade is "+input8Calc+" points away from the average");  }}
You might be interested in
100 POINTS NEED ASAP PLEASE HELP
givi [52]

It is actually podcast! i took the quiz as well :)

3 0
3 years ago
Read 2 more answers
:)
Vilka [71]

Answer:

A, system software

Explanation:

that is answer an interpreter is a type of system software

5 0
3 years ago
During a move, employee workstations were disconnected from the network and reconnected in new offices. However, after the move
Troyanec [42]

Answer:

Make sure the cables are functional and properly plugged.

Explanation:

For the fact that everything was working perfectly before the move, but after the move, it was noticed that a few workstations cannot get a valid IP, the first thing that is required to be checked is to ensure that the cables are properly plugged, and if they are, make sure that you test for the functionality of the cables. It is only after these checks and the problem persist, that further troubleshooting is required.

5 0
3 years ago
What is the term for the era created by the digital revolution?
Ahat [919]
Technological innovation
8 0
3 years ago
A security risk to email is​ __________, which are fraudulent messages that prompt unwary users to reveal sensitive information
d1i1m1o1n [39]

Answer:

Option C is the correct answer for the above question.

Explanation:

Pishing is a type of attack which is used by the attacker to access the secured information from the system. It is used by the third person assuming for the system that he is the right use of the system and can access the information of the system.

The above question asked about the attack which can access the information to assume that he is the right user and give accessed to the network to been hacked. So the answer is phishing which is described above. Hence option C is the correct while the other is not because:-

  • Option A states about direct mail which is not a type of attack.
  • Option B states about instant messaging which is also not a type of attack.
  • Option D states about spam which is used to send the spam messages.
  • Option 'E' states about the mass mail which is used to send the lots of spam mail.
5 0
2 years ago
Other questions:
  • Describe the general process of creating a DataFlow Diagram (DFD)
    7·1 answer
  • Sam and Ella are arguing in the cafeteria. Sam says that if he throws a chicken tender with a greater speed, it will have a grea
    7·2 answers
  • ____ are programs that run independently and travel between computers and across networks.
    7·1 answer
  • I love dog my is 16 weeks old how old is yours
    12·1 answer
  • A technician has been notified of a problem on the network. After investigation, the technician determines that a specific inter
    7·1 answer
  • Before a program written in c can be executed on a computer, what step is required to be done first?
    7·1 answer
  • .Visual Studio .NET’s ___________ feature displays all the members in a class
    9·1 answer
  • Did anyone else remember that Unus Annus is gone? I started crying when I remembered.... Momento Mori my friends.... Momento Mor
    9·2 answers
  • PLEASE HURRY!!!!
    8·2 answers
  • Test if the word mold is stored in the variable word.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!