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
Keith_Richards [23]
3 years ago
7

JAVAplzz help...............​

Computers and Technology
1 answer:
patriot [66]3 years ago
7 0

Answer:

import java.util.Scanner;

import java.util.Arrays;

public class Main {

 public static void main(String[] args) {

   Scanner scan = new Scanner(System.in);

   int numbers[] = new int[3];

   System.out.print("Enter first number: ");

   numbers[0] = scan.nextInt();

   System.out.print("Enter second number: ");

   numbers[1] = scan.nextInt();

   System.out.print("Enter third number: ");

   numbers[2] = scan.nextInt();

   scan.close();

   Arrays.sort(numbers);

   if (numbers[0] == numbers[2]) {

     System.out.println("All the numbers are equal");

   } else {

     System.out.printf("Greatest number: %d\n", numbers[2]);

   }

 }

}

You might be interested in
Which component of a computer is its input device and what role does it play in a document?
hichkok12 [17]

a keyboard is a imput device that helps in writing in a document.

3 0
3 years ago
Forensic professional able modify and reconstruct images of a missing child, predicting the appearance even twenty years later?
Mama L [17]
The second option forinistic  animator
4 0
3 years ago
You have opened the properties dialog box for an installed printer on your computer system. on what tab will you find informatio
ollegr [7]
You can find it on the general tab.
4 0
3 years ago
Which of the following statements will ivoke the function get_course and store the reutrn values correctly? A. get_course(course
Sergio039 [100]

Answer:

Option D is the correct answer for the above question

Explanation:

Missing code: The function code is missing in the question, which defined the two return value.

Detailed Expalanation:

  • The above question code is in python language, which returns the two values. So there are needs of two variable which is needed to hold the returned value from a function.
  • Options b and c both states the two variable for the calling function which needs to hold the returned value and the option D states both option, hence it is a correct option while the other is not because:-
  • Option a states no variable which can hold the returned value.
4 0
3 years ago
Boole’s theories of logic set the foundation for what aspect of computing today?
AlekseyPX

Answer:

Software aspect of computing

Explanation:

Boole never regarded logic as a branch of mathematics, instead, he proposed that logical propositions should be expressed as algebraic equations. Mathematical operations were replaced with AND, OR.

Boolean algebra provides the basis for analyzing the validity of logical propositions because it captures the two-valued character (binary:  (1 or 0) ) of statements that may be either true or false which is very important for all digital computation of which softwares are part of.

7 0
3 years ago
Other questions:
  • What bug was supposed to start affecting computers on january 1 2000
    9·1 answer
  • Sizing handles are used in Microsoft® Word® to _____.
    13·1 answer
  • A vehicle travels 2345 m in 315 toward the evening sun. What is its velocity
    13·1 answer
  • Which of the following JavaScript methods is used to define an object collection based on a CSS (Cascading Style Sheets) selecto
    15·1 answer
  • What problem does chlorofluorocarbon (CFC) create?
    5·1 answer
  • Write an algorithm that receives 500 numbers from the user and prints out the maximum of the numbers.
    9·1 answer
  • The following SQL statement contains which type of subquery? SELECT title FROM books WHERE EXISTS (SELECT isbn FROM orderitems W
    14·1 answer
  • What are the main features cyber law of Nepal​
    13·1 answer
  • Write C# program that will read name from keyboard and display it on screen. The program should throw an exception when the leng
    6·1 answer
  • Decades of research throughout the world have found a _____ correlation between academic achievement and socioeconomic status, l
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!