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
Consider whether there are additional components that could be added to the IPv4 protocol to enhance its usefulness. What are th
geniusboy [140]

Answer:

There are no additional components that can be added to the IPv4 protocol to improve its utility

Explanation:

The IPv4 protocol was developed in 1983 and is still the most widely used version worldwide. It consists of a 32-bit binary number that is normally represented in decimal notation, with four digits separated by dots that take values between 0 and 255.

This system limits the IPv4 protocol to 4,000 million different addresses, a figure that in the eighties seemed sufficient but that in practice has been scarce due to the revolution of mobile devices and the impending development of the Internet of Things ( IoT) that will trigger the number of devices connected to the network.

So, there are no additional components that can be added to the IPv4 protocol to improve its utility, since the world is running out of IPv4 addresses and is being replaced by IPv6.

Hope this helps!

5 0
3 years ago
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle w
Alecsey [184]

The time being referred to is C. cycle time. Cycle time refers to the amount of time from start to end of a process as agreed and defined by a service provider (in this case, the technician) and the customer. Cycle time can also be lengthened or shortened.

5 0
4 years ago
Read 2 more answers
Can anyone help me with these questions?
densk [106]

Answers and explanations:

<u>Question 1: </u>

a. True

<u>Explanation: </u>

According to data released by the Tetris company in 2018 Tetris has sold over 500million copies. The second best-selling video game is Minecraft with circa 180millon copies according to Microsoft

<u>Question 2: </u>

b. Challenges or conflicts.

<u>Explanation</u>

A game should include the following elements:

  • Willingness to participate
  • Goals to achieve, or challenges
  • Rules and strategies that ought to be followed overcome the challenges
  • An agent to compete against. This can another player (human or not), the environment of the game, or even the rules of the game.
  • The addition of agent to compete against, create an essential element for games: conflict.

<u>Question 3:</u>

c. Third-person perspective

<u>Explanation</u>

In video games, several perspectives modify how the player interacts with the character and the environment.

  • 1st person perspective: the player sees what the main character sees. Like in Doom.
  • 2nd person perspective: the player sees the main character through the eyes of a third character. Like in Mario 64, the player sees Mario from the perspective of Lakitu.
  • 3rd person perspective: The player sees the main character body entirely, like a character in a movie. Over the shoulder, perspective is similar to 3rd person, but the camera is fixed to the main character shoulder.
  • Top-Down perspective: where the player sees both the main character and the map from an "aerial" view
  • etc...

<u>Question 4:</u>

b. tactical

<u>Explanation</u>

Tactics and strategy are usually used interchangeably. However, strategy is the whole action plan to achieve an overall outcome. Like winning a football match. Tactics, on the other hand, refer to the immediate and in-situ efficient usage of resources to achieve a small objective. Like scoring a goal. In Henry Hatsworth, the immersion experience comes from the ability to master the tactics to play a combination of puzzles with action platformer.

<u>Question 5:</u>

c. AI.

<u>Explanation</u>

Gameplay makes reference to the way in which a player interacts with a game. It econpases game mechanics, challenges, story, etc...

Game mechanics are the rules and methods through which a player can achieve the game goals. For instance, a game can be turn-based or real-time strategy.

Roguelike is a specific kind of games based on the exploration of dungeons.

In videogames, a developer can adjust the AI of NPC to react more or less assertive or aggressively to player actions. This can alter the whole gameplay experience, so must be done carefully.

<u>Question 6.</u>

a. A video recap

<u>Explanation:</u>

A video recap can help developers to asses how players interact with the videogame

<u>Question 7:</u>

b) What marketing strategy will I use for my game?

<u>Explanation</u>

Game development requires resources, you need to think about how you are going to sell the game to investors or crowd-funders in order to actually being able to materialise any idea.

<u>Question 8</u>

c) It means you can learn how to play the game almost inmediately, but you will want to keep playing for a long time in order to master it.

<u>Explanation</u>

Some games have simple mechanics, like simple rules that are easy to understand. However, this does not determine the overall gameplay complexity. Go is an example of simple mechanics and extremely complex and in-depth gameplay.

<u>Question 9</u>

b. False

<u>Explanation</u>

FPV provides the player with a limited but detailed view of the map. On the contrary, a top-down perspective provides a broader view possible on a map.

<u>Question 10:</u>

b. First-person view.

<u>Explanation</u>

please check explanation on question 3.

<u>Question 11:</u>

c. Passively

<u>Explanation</u>

A player cannot be a passive spectator. They must engage actively in gameplay in order to overcome the challenges and advance on the game. This is why games are different from most forms of entertainment, in which the spectator acts passively and cannot affect the outcome of the story.

<u>Question 12</u>

b. False

<u>Explanation:</u>

The characteristics mentioned are typically found on puzzle games. Adventure games focus on telling a story about a lifechanging journey. They may contain many mechanics and elements (such as puzzles) but they are focused on telling the character story.

<u>Question 13</u>

d. Resource management

<u>Explanation</u>

Economy is the study of resource management (not only money). Therefore, any game that has a resource management component involves a certain degree of economic mechanics. This component is more prominent in RTS and city-building games.

<u>Question 14. </u>

b. Tetris

<u>Explanation</u>

The core mechanic of Tetris is to align geometric pieces that fall from the top of the screen. Each time the pieces are aligned in a horizontal line, the line disappears.  

<u>Question 15. </u>

a. True

<u>Explanation</u>

Fable III does not have any difficulty setting. Game mechanics are designed in such a way that players need to increase their avatar level in order to advance the storyline, where they are going to find harder and harder characters.

6 0
4 years ago
Which tab will you use to format data in cells?
kaheart [24]

Answer:

It's home tab

Explanation:

7 0
3 years ago
Read 2 more answers
During the weekend, Alice often needs to access files stored on her office desktop from her home laptop. Last week, she installe
ICE Princess25 [194]

Answer:

Depending on the error message which Alice get but what could have gone wrong is perhaps firewall issue.

Explanation:

There are lots of probable reason why Alice could not access her files during the weekend but below are some common reasons:

Firewall issue: Maybe Alice has her firewall turned on unknowingly as it is known that firewall do block such types of connection except it is explicitly allowed from the firewall settings.  Another issue might be that, Alice ISP uses firewall.

FTP programs Setting: Perhaps there is a settings which Alice has not activated in the FTP program that she is using.

3 0
4 years ago
Other questions:
  • What is information reach? A. A global public network of computer networks that pass information from one to another using commo
    5·1 answer
  • Rearrange the statements in the following order so that the program prompts the user to input: a. The height of the base of a cy
    12·1 answer
  • 6. Which of the following options is used to view a computer's memory properties?
    8·1 answer
  • PLEASE HELP
    9·2 answers
  • Selet the correct answer.
    11·2 answers
  • Give fields descriptive so that you can easily identify them when you view or edit records.
    13·1 answer
  • Ask the user to enter 3 scores each representing an assignment score. Ask the user for their midterm and final exam. Store all a
    11·1 answer
  • Which similar computer network components connect multiple devices?
    11·2 answers
  • Name 3 supercomputers along with their cost, purpose and the country it is located.​
    15·1 answer
  • The capacity of your hand drive is measured in​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!