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
Aleks04 [339]
3 years ago
11

Write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the smalle

st and largest integers in the list.

Computers and Technology
1 answer:
almond37 [142]3 years ago
4 0

Answer:

Check the explanation

Explanation:

10

5

3

21

2

-6

the output will be somthing like this:

2 21

You can then suppose that the list of integers will contain at least 2 values.

You might be interested in
1. Microsoft Excel, MS Excel, or simply Excel is a______application by Microsoft Corporation. 2. Excel allows you to organize an
vovangra [49]

Answer:

1. Office

2. Columns

3. Presentation / Excel

4.  OneDrive

5.  Internet

Explanation:

trust me on this one

8 0
3 years ago
Why was Unicode invented?
MrRissso [65]
Unicode was invented so more characters could be used in digital writing. the old ASCII was only 7 bits, but Unicode offered more font styles, and more characters each style. 
8 0
3 years ago
On her last performance review, beverly's boss commented that she needs to help out her co-workers when they are busy in order t
labwork [276]
Inter personal. As she needs to work with persons, them being her co workers
4 0
4 years ago
Read 2 more answers
*blank* is the unauthorized copying and selling or distributing of licensed video games.
Tju [1.3M]

Answer:

Pirating or Video Game Piracy

Explanation:

Video game piracy, a form of copyright infringement, is the unauthorized copying and distributing of video game software. It is often cited as a major problem that video game publishers face when distributing their products, due to the ease of being able to download games via torrent or DDL websites.

7 0
3 years ago
How to do pseudocode and flowchart in BMI ( computer programming ​
defon

Answer:

You need to find out what is the units of measurement of the height and weight. You also need to find that the weight is in Kilogram or pounds, and whether the height is in feet and inches, or inches, or meters and centimeters.

Part1: You need to read the values of the weight and height, and validate it as required.

Part2: Now you need to convert those findings into English measures or metrics for computation.

Part3: Output: You need to display as well as echo the input as well as the BMI; and you need to mention the supplementary message which is based on the BMI findings related to Obesity, borderline overweight, normal and overweight, etc.

The program is as below:

import java.io. *;

class Main

{

// weight in pounds and heights are in inches

private double your_wght;

private double your_hght;

Main ( double ht, double wt)

{

your_wght = wt; your_hght = ht;

}

public double GetHght() { return(your_hght); }

public double GetWght() { return(your_wght); }

public double CalculBMI() { return(your_wght*703/(your_hght*your_hght)); }

public double PrintDouble( String promptMessage) throws IOException

{

double Num=0;

String x=null;

Console console = System.console();

System.out.print(promptMessage);  

x = console.readLine();  

Num = Double.parseDouble(x);

return(Num);  

}  

public static void main( String args[])

{

double heightinFeet=0,heightinInch=0,w=0;

Main Input = new Main(0,0);

try

{

System.out.println(" Please input the height(feet/inches) \n");

heightinFeet = Input.PrintDouble(" In feet :> ");

heightinInch = Input.PrintDouble(" In inches :> ");

w = Input.PrintDouble(" Please enter the weight(pounds) :>");

}

catch (IOException ex) { System.out.println("occurred Input Exception"); }  

Main BMI_value = new Main(heightinFeet*12+heightinInch,w);  

System.out.println(" Weight = " + BMI_value.GetWght() );  

System.out.println(" Height(inches) " + BMI_value.GetHght() );

System.out.println(" BMI is " + BMI_value.CalculBMI() );  

}

}

Explanation:

Rest of the fields and properties are self understood, however, PrintMessage needs explanation. It takes a string as input, which calls for entering some double value like in feet, and in inches, and returns that value, which is assigned to relevant double variable. And Main is the class with Main constructor, which is a parameterized constructor, and takes height and weight as input.

5 0
3 years ago
Other questions:
  • If you are going to attach more than 15 devices to your wireless network, you should make sure your router supports which standa
    14·1 answer
  • What is an advantage of sharing documents in PDF format instead of Word format?
    6·2 answers
  • Which of the following is least likely checked by the comprehensive component monitor?
    7·1 answer
  • The efficiency of a screw is low because of _____. width friction length height
    10·2 answers
  • On what basis can you categorize the generations of computers
    7·1 answer
  • The autocorrect feature can automatically capitalize the first letter in the names of days. true false
    15·1 answer
  • Pls give me some suggestion of good Computer Science reference books for XI CBSE. <br> PLS!!
    10·2 answers
  • Sandra is having difficulty with her reading assignment because she does not fully understand the language. Which online tool wo
    6·1 answer
  • As a general rule, what is the size of a brochure?
    11·1 answer
  • WhAt is a jpeg do i look like i know what a jpeg is
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!