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
OleMash [197]
3 years ago
15

Who is your favorite XC2 character, and why?

Computers and Technology
1 answer:
chubhunter [2.5K]3 years ago
8 0

Answer:

prya because that is the lead charcter

Explanation:

give me brainliest plz

You might be interested in
C++You are given an array x of int elements along with an int variable n that contains the number of elements in the array . The
Firdavs [7]

Answer:

C++ Code

#include <iostream>

using namespace std;

int median(int x[], int n)

{

   for (int i = 0; i < n-1; i++)

   {

   for (int j = 0; j < n-i-1; j++)  

       if (x[j] > x[j+1])

       {

           int temp = x[j];

           x[j] = x[j+1];

           x[j+1] = temp;

       }

   }

   if( n%2 == 0 )

   {

       return (x[ (n/2) -1] + x[n/2])/2;

   }

   else

   return x[n/2];

}

int main()

{

   //example 1

   int x[] = {5,8,1,7,9};

   int n = 5;

   

   int m = 0;

   m = median(x,n);

   cout << m << endl;

   

   //example 2

   int x2[] = {3,7,1,4,6,9};

   int n2 = 6;

   m = median(x2,n2);

   cout << m << endl;

}

Explanation:

The main program contains the examples given in the question.

Function Explanation: The function int median(int x[], int n) takes two arguments, one is the array x and the other is the size of the array n.

First, the function sorts the elements in ascending order.

After that, it is calculated whether n is even or odd. If n is an even number,  The middle numbers can be obtained as follows:

Divide n by 2 to get the first middle element.

The second middle element is the element before first middle element, therefore

x[ (n/2 )-1] + x[n/2] gives us the sum of middle elements, where as dividing it by 2 gives us the avg of the two numbers.

If n is an odd number, than the middle element can be simply returned by dividing n by 2.

The working of the program is as follows

Array 1: 5 8 1 9 7

After sorting, it becomes: 1,5,7,8,9.

Array indices are : 0,1,2,3,4. Middle element is at index 2, n = 5, therefore n/2 = 2.5 (This is rounded down to 2 because result is stored in integer)

Array 2: 3 7 1 4 6 9

After sorting, it becomes: 1 3 4 6 7 9

Array indices are : 0,1,2,3,4,5. Middle element is at index 2 and 3,n = 6, therefore it can be obtained by n/2-1 and n/2 (n/2 = 3 and n/2 - 1 = 2)

3 0
3 years ago
This problem performs elliptic curve encryption/decryption using the scheme out-
USPshnik [31]

Answer:

Following is the solution fr the question step by step:

a. PB = (7,2)

b. Cm = {(8,3), (10,2)}

c. Pm= (10,9)

Explanation:

<h2>I hope it will help you!</h2>

6 0
3 years ago
When referring to hard drives, access time is measured in?
NNADVOKAT [17]

Answer:

for me its milliseconds

3 0
3 years ago
Read 2 more answers
Ethical decisions often need to be made within gray areas. for example, should an isp comply with a request from a government fo
Vikki [24]
Matches an IP address

While a business may be legally bound by restrictions such as union contracts, customer privacy policy, and employee confidentiality laws, indeed, there are gray areas inside which ethical decisions need to be made. Many businesses have struggled with decisions like the one mentioned above especially in challenging economic times such as these.



7 0
4 years ago
Mathematical Literacy​
Westkost [7]

Explanation:

can you explain the question pls

7 0
3 years ago
Read 2 more answers
Other questions:
  • What is parallelism of microinstruction
    9·1 answer
  • Given the following characteristics for a magnetic disk pack with 10 platters yielding 18 recordable surfaces (not using the top
    14·1 answer
  • Binary tree algorithm?
    5·1 answer
  • What is the power dissipated by a resistor with a current of 0.02 A and a resistance of 1,000 ?
    15·1 answer
  • Plz tell the answer I I'll mark u as the brainliest
    14·1 answer
  • Given six memory partitions of 300 KB, 600 KB, 350 KB, 200 KB, 750 KB, and 125 KB (in order). The memory allocation algorithm th
    14·1 answer
  • After turning volume all the way up on your computer speaker you still can’t hear any sound. What should be done next
    15·1 answer
  • HELP ME PLEASE
    8·1 answer
  • Kate saves her work on a secondary storage device that is fairly new, and uses flash technology instead of disks.
    10·1 answer
  • Online activities among businesses
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!