How do I accept the numbers of two arrays from the user using scanner class and merge them?
Answers
Answered by
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
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
Math,
10 days ago
English,
20 days ago
Physics,
20 days ago
Computer Science,
9 months ago
English,
9 months ago