Question about Microsoft Windows XP Professional With Servise Pack 2 (e8503040) for PC

2 Answers

Merging two arrays and sort them - Microsoft Windows XP Professional With Servise Pack 2 (e8503040) for PC

Posted by on


2 Answers

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points


    An expert that got 10 achievements.


    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Master
  • 555 Answers

Hello my friend, try the concept of the program by studying its flow. Here's some program code done using Java Programming languages:

======================Program Code===================

public class MainClass {
public static void main(String[] args) {
int[] arrayA = { 23, 47, 81, 95 };
int[] arrayB = { 7, 14, 39, 55, 62, 74 };
int[] arrayC = new int[10];

merge(arrayA, arrayA.length, arrayB, arrayB.length, arrayC);
for (int i : arrayC) {


public static void merge(int[] arrayA, int sizeA, int[] arrayB, int sizeB, int[] arrayC) {
int arrayAIndex = 0, arrayBIndex = 0, arrayCIndex = 0;

while (arrayAIndex < sizeA && arrayBIndex < sizeB)
if (arrayA[arrayAIndex] < arrayB[arrayBIndex])
arrayC[arrayCIndex++] = arrayA[arrayAIndex++];
arrayC[arrayCIndex++] = arrayB[arrayBIndex++];

while (arrayAIndex < sizeA)
arrayC[arrayCIndex++] = arrayA[arrayAIndex++];

while (arrayBIndex < sizeB)
arrayC[arrayCIndex++] = arrayB[arrayBIndex++];
======================End of Program==================

Hint: you can define your own function and used it in your program. The concept their is you have to declare two different arrays and create a new array set that will accept the value of two arrays and sort it according to your criteria.

If you need more assistance please reply to this post.

thank you


Posted on Jul 29, 2009

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer


Posted on Jul 29, 2009


1 Suggested Answer

  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

A 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
The service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Good luck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%


Complete. Click "Add" to insert your video. Add



Related Questions:

1 Answer

I just told someone there i lost the instucion maunual for the hitachi clu-4311ug remote i need to know to know what buttons to fix the digital array

post the model number of your Hitachi and I will post the instructions for controlling the array with your remote.

Jul 06, 2012 | Hitachi Televison & Video

1 Answer

ILO DVDRH04 DVD Recorder

to the we what sort of were using

May 25, 2008 | iLO DVDRH04 DVD Recorder

1 Answer

Make a program that will accept tthe size of an array (number must be greater than). Enter and fill the array with numbers then sort in descending order (largest to smallest). Display the unsorted and...

coding in C++

#define max 50

void main()
int arr[max],size=0;
int i=0,j=0,temp;
cout<<"Enter the size of array(less than or equal to 50)";
} while(size>50);

cout<<"Enter a number";

for( i=1;i<size;i++){
temp = arr[j];
arr[j] = arr[j+1];
arr[j+1] = temp;


cout<<”Array in descending order”;
return 0;

Mar 09, 2010 | Computers & Internet

1 Answer

When I try to merge my excel document with 250

Hi deloisr

It looks like you have chosen the wrong data file. Probably an earlier version of your data still present in some folder.
Check these
Do you have column headings for every column?
Make sure which folder contain the file? What exactly is the name?
When you are in the Microsoft word, make sure you select the correct data file for your mail merge. If you have selected the correct data file, when you attempt to insert the merge fields, there is no way, it give wrong field names.
The only reason you get the erong field names is because you have the wrong excel file for your data. Fix this problem first, then the rest will sort themselves out.
Have a good day.

Nov 09, 2009 | Microsoft Computers & Internet

1 Answer

I put 2 disks in raid 0 array on this controller

When you say "after merging the driver via a floppy at the txt setup" I think you are referring to pressing the F6 key to load the raid drivers. But I don't understand "restarting setup".
You will need the correct XP64bit drivers loaded on a floppy for this to work.
Maybe a good place to start is a temporary install of XP using 32bit drivers to prove all components are working.

Nov 01, 2009 | Adaptec 1220SA (2232100-R) Storage...

1 Answer

I am having a problem with javascript:swap7

Hi, i'm having problems understanding the code for selection sort.

From what i understood the 2 nested for loops keep taking an entry in the array at position i and another entry in the array in position i+1 and comparing them until the the index reaches the end of the array.

i don't understand how do i end up with a sorted list this way.

for instance if i have

5 3 4 1
so after comparing the first two it'll be:
3 5 4 1
then the next two
3 4 5 1
and the last two
3 4 1 5

and then exiting?!

what am i missing ?!

May 06, 2009 | Dell E153FP 15" LCD Monitor

1 Answer

I have a array of values and i have to sort the values

Instead of using MS Windows (the Operating System) to do your sorting, use Excel .. programatically, VBA or OLE ..

Mar 15, 2009 | Dell Computers & Internet

1 Answer

To merge two arrays A and B in java source code.

Do you need them to be sorted after the merge and are they already sorted? If not, then what you can do is create a temporary third array which will set the half of third array equal to the first array, and then set the set half equal to the second array. If they need to be sorted, I can help too but you need to tell me

public class ArrayMerge
public static int arr1[] = new int [20];
public static int arr2[] = new int [20];

public static void main()

public static void setScores(int a[])
for(int x = 0; x<a.length; x++)
a[x]= (int)(Math.random() * 100)+1;

public static void printScores(int a[])
for(int x = 0; x<a.length; x++)
System.out.print(a[x] + " ");

public static int[] merger(int a1[], int a2[])
int a3[] = new int [(a1.length + a2.length)];

for(int x = 0; x<a1.length; x++)

for(int x = 0; x<a2.length; x++)
return a3;

Jan 24, 2009 | Microsoft Windows XP Professional With...

Not finding what you are looking for?
Microsoft Windows XP Professional With Servise Pack 2 (e8503040) for PC Logo

112 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2986 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18424 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides