1. Write a program that fill two arrays rad[10] and len[10] by random generator. Rad[] array represents the (radius) of Cylinder, and array len[] represents length of the cylinder. Then using the two arrays, compute the volume of the cylinder and put the result in another array res[10]. Then find the maximum volume and print it and its radius and length.
2. Write a program contains the following function :
void rotate( int a[ ], int n, int k);
The function rotates the first n elements of the array a, k positions to the right if k is positive or k positions to the left if k is negative. The last k elements are “wrapped” around to the begging of the array. For example, the call rotate(a,8,3) would transform the array {22,33,44,55,66,77,88,99} into {77,88,99,22,33,44,55,66}. The call rotate(a,8,-5) would have the same effect.
3. Write a program that fill an array tc[10] by random number generator. tc[10] array represents the temperature in Celsius. Then pass each element in the array to function convertCtoF converts the temperature from Celsius to Fahrenheit and return the result to main where it will put the result in another array tf[10]. Then find the maximum tf and print it and its temperature in tc.
4. Write a program that ask user to input an integer, if it is even store it in an array even[]. If the entered integer is odd, save it in array called odd[]. If user enter -1, stop taking integers. Then, print each array, how many input in it, maximum and minimum of the array.
Do you have anything coded so far? If not what don't you understand about the programs? We're not going to do the work for you, but will help you with points that you are having difficulty with if we can.