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
Reil [10]
3 years ago
11

HELP ME ILL GIVE BRAINLY Input 50 numbers and then output the average of the negative numbers only. Write in pseudocode!

Computers and Technology
1 answer:
Mumz [18]3 years ago
3 0

Answer:

The explanation is for 10 inputs though. You'd have to follow these steps to find input 50 numbers.

Explanation:

This is how I wrote it in the Plain English programming language which looks like pseudo-code but compiles and runs (to save you all the rest of the steps):

To run:

Start up.

Write "Enter 10 numbers separated by spaces: " on the console.

Read a reply from the console.

Loop.

If the reply is blank, break.

Get a number from the reply.

Add 1 to a count.

Add the number to a total.

Repeat.

Write "The total is: " then the total on the console.

Put the total divided by the count into an average.

Write "The average is: " then the average on the console.

Refresh the screen.

Wait for the escape key.

Shut down.

You might be interested in
A set of blocks contains blocks of heights 1,2, and 4 centimeters. Imagine constructing towers of piling blocks of different hei
SashulF [63]

Answer:

In studies about new medicines, researchers usually give one group of patients the medicine that is designed to treat an illness. They give another group of patients a placebo, which is taken the same way as the medicine but does not actually contain the ingredients of any medicine. Different medicines are tested in different experiments, but the placebos usually contain the same non-medical ingredients. If both groups of patients are healed, then researchers cannot be sure whether the medicine caused improvement, but if the group given the medicine is healed while the group given the placebo remains ill, researchers can conclude that the medicine causes the illness to go away.

In medical experiments, which group receives placebos?

the experimental group

the control group

both the experimental and control groups

neither the experimental nor control group

Explanation:

5 0
3 years ago
Are used to connect a computer to a telephone line for dial-up internet access
Stella [2.4K]
I mean it typically goes wall jack to filter to line...
5 0
4 years ago
The Speed of Sound (Java Project. Please make it easy to understand. I'm a beginner at this. I believe we are supposed to use a
Ilya [14]

Answer:

The program of this question can be given as:

Program:

//import pacakge for user input.

import java.util.Scanner;

//define class  

public class SpeedofSound              

{

  public static void main(String a[]) //define main function

  {  

      //define variable.

      String medium;                            

      double distance,time=0;

      //creating Scanner class object for input from user.

      Scanner s=new Scanner(System.in);  

      //print message.

      System.out.printf("Enter medium(air,water or steel) : ");

      medium=s.nextLine();  //taking input.

      //print message.

      System.out.printf("Enter the distance that the sound will travel : ");

      distance=s.nextDouble(); //taking input.

      switch(medium) //checking condtion between range.

      {

          case "air":

                  time=distance/1100;         //apply formula

                  break;

          case "water":

                  time=distance/4900;            //apply formula

                  break;

          case "steel":

                  time=distance/16400;            //apply formula

                  break;

          default:

                  System.out.printf("Sorry, you must enter air,water or steel"); //error for invalid input of medium

                  System.exit(0);

      }

      System.out.printf("It take "+time+" seconds"); //print final answer.

  }

}

Output:

Enter medium(air,water or steel) : air

Enter the distance that the sound will travel : 200

It take 0.18181818181818182 seconds

Explanation:

In this program first, we import packages for user input. Then we declare the class in the class we declare all the variables and then we create the scanner class object. It is used for taking input from the user. Then we use the switch statement It is used for condition. It works between the ranges. In the switch statement, we apply all the formula that is given in the question. and at the last, we print the output using printf function in java.

6 0
4 years ago
Select the best answer from the drop-down menu.
Orlov [11]

Answer:

1) R<u>easoning</u>

<u>2)Nonverbal</u>

<u>3)Generating solutions.</u>

<u>4)Decision making</u>.

<u>--------------------------------------</u>

Robert is reviewing complex information and data concerning a new product launch to determine the cause of some product failures. He is primarily using <u>reasoning</u> skills.

Reasoning through a problem requires an understanding between verbal and <u>nonverbal</u> ideas.

When you use reasoning skills and past experience to brainstorm ideas you are <u>generating solutions.</u>

When you narrow down solution ideas, then select the best one, you are engaging in <u>decision making</u>.

<u>OAmalOHopeO</u>

8 0
3 years ago
Read 2 more answers
Exposure value bracketing
erica [24]

Answer:

refined view is the outcome of exposure value bracketing

Explanation:

sometimes we take more than one photo at different angles to get an insight to an image. It refined the image information and a detail overview can be achieved from exposure value bracketing. The advantages of exposure value bracketing are:

  • proper exposure of pictures
  • can catered the low light situations effectively
  • refined results
  • explanatory view capturing

The dis-advantages of exposure value bracketing are:

  • huge database as we are taking multiple shots
  • Over-exposing the surroundings
5 0
4 years ago
Other questions:
  • What is the purpose of news services
    13·1 answer
  • _________ is a specially formatted request used to perform ip address to data link address resolution.
    14·1 answer
  • You can create user accounts on the linux system by using the ____ command.
    9·1 answer
  • Derived Classes Warrior Stores the warrior's allegiance as a string. The warrior does not attack warriors that have the same all
    14·1 answer
  • How do you get free Wifi on your phone without paying
    6·1 answer
  • What do you mean by real time system? Why real time system needs to response within limited time?
    6·1 answer
  • Which computer application is an example of a DBMS?
    8·1 answer
  • What is shotgun microphone?
    7·1 answer
  • Write a simple program that takes in a numerator and denominator and then computes the GCD for that fraction. You can assume tha
    14·1 answer
  • 2. Why do you think the order of operations still applies in Java? Give an example to show what could happen if you didn't use o
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!