Computer Science, asked by PuruVyas, 20 days ago

How do I accept the numbers of two arrays from the user using scanner class and merge them?

Answers

Answered by Misperfect2408
1

Answer:

Create two integer variables to store the size of the first and the second array.

Define three integer arrays. ...

Create one Scanner object to read the user inputs.

Ask the user to enter the size of the first array.

Read the value and store it in array1size_ variable.

Answered by ayushajaythakare1020
0

Explanation:

Explanation :

Create two integer variables to store the size of the first and the second array.

Define three integer arrays. ...

Create one Scanner object to read the user inputs.

Ask the user to enter the size of the first array.

Read the value and store it in array1size_ variable.

Similar questions