May 2021 2 123 Report
how do you declare an array of integers called ‘array’ that holds 20 integers?

In this question, you’ll split an array into two arrays that are half the size. Your code should declare an array of

integers called ‘array’ that holds 20 integers. Also, declare two arrays called ‘small1’ and ‘small2’ that can hold

10 integers each. Fill the large array with random numbers that are between 0 and 99. Next, copy the first 10

elements from ‘array’ into ‘small1’ and copy the last 10 elements of ‘array’ into ‘small2’.

Update:

it's for programming c

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 1QUIZZ.COM - All rights reserved.