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
brilliants [131]
3 years ago
12

6.5 Code Practice: Question 1 please help with code!!! Thank you

Computers and Technology
1 answer:
viva [34]3 years ago
7 0

Answer: Eat my boy toy

Explanation:

You might be interested in
In the code below, what's the final value of the variable x?
Lana71 [14]

Answer:

First equation x=4

second equation x=3

Explanation:

The question is telling us that 'X' is equal to 8. It's another way of representing this number using X as the variable replacing it.

We input 8 instead of the X to solve the equation, and here in the picture, you can see where I went from there.

Do the same thing for the other equation.

I hope this helps :)

3 0
2 years ago
You are given an unsorted array x of elements that implement the Comparable interface. There are no duplicates in this array. Yo
Andrei [34K]

Answer:

boolean isEven = false;

if (x.length % 2 == 0)

isEven = true;

Comparable currentMax;

int currentMaxIndex;

for (int i = x.length - 1; i >= 1; i--)

{

currentMax = x[i];

currentMaxIndex = i;

for (int j = i - 1; j >= 0; j--)

{

if (((Comparable)currentMax).compareTo(x[j]) < 0)

{

currentMax = x[j];

currentMaxIndex = j;

}

}

x[currentMaxIndex] = x[i];

x[i] = currentMax;

}

Comparable a = null;

Comparable b = null;

if (isEven == true)

{

a = x[x.length/2];

b = x[(x.length/2) - 1];

if ((a).compareTo(b) > 0)

m = a;

else

m = b;

}

else

m = x[x.length/2];

8 0
3 years ago
Moore's Law states that the number of transistors on an integrated circuit? increases by 20% every year
qaws [65]
Doubles every two years
3 0
2 years ago
(word excel)
Aloiza [94]
D is the answer to that problem
7 0
2 years ago
You notice that it’s very easy to confuse medications at the community health center where you’re working. They are lined up on
Bezzdna [24]

Answer:

The answer is design systems to prevent errors.

Explanation:

This system helps to prevent medication errors with resultant patient harm and cost. The best would be if the community health center could afford systems that use information technology  such as computerized physician order entry, automated dispensing, barcode medication administration, among other technological solutions.

8 0
3 years ago
Other questions:
  • Which of these is an aggregator?
    9·2 answers
  • A layer of control in each communicating device that provides functions such as flow control, error detection, and error control
    13·1 answer
  • Before sharing a document, you must first save the document to
    12·1 answer
  • Describe three main types of testing and the order in which they are performed.
    9·2 answers
  • You have a manager who makes decisions without getting input from anyone. They are unwilling to change anything once a decision
    14·1 answer
  • What is a function of Agile software development?<br>​
    7·1 answer
  • What is lossless compression
    6·2 answers
  • Please answer.
    9·1 answer
  • Today's manufacturing workplace is most likely to include
    8·1 answer
  • Why is computer called information processing machine....?​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!