"Hi, Amigo! Here are a few tasks for you, my friend:"
One large array and two small ones
1. Create an array of 20 numbers. 2. Populate it with values from the keyboard. 3. Create two arrays of 10 numbers each. 4. Copy the large array into the two small ones: half the numbers into the first small array, and the second half into the second small array. 5. Display the second small array, e
Street and houses
1. Create an array of 15 integers. 2. Populate it with values from the keyboard. 3. Let the array index represent the house number. The array value at a particular index represents the number of people living in the corresponding house. Houses with odd numbers are located on one side of the street.
1. Create an array of 10 strings. 2. Create an array of 10 numbers. 3. Enter 10 strings from the keyboard, and put them in an array of strings. 4. In each element of the number array, record the length of the string whose string array index coincides with the current index of the number array. Displ
GO TO FULL VERSION