Completion requirements
Opened: Thursday, 19 November 2020, 8:45 AM
Due: Thursday, 19 November 2020, 11:00 AM
- Declare an array of integer of 5 numbers and print the numbers.
- Declare an array of characters of 5 numbers and print the characters.
- Declare an array of float numbers of 5 numbers and print the float number.
- Declare an array of integer for 5 numbers and calculate the sum of them.
- Declare an array of integer for 5 numbers and find out the maximum number.
- Declare an array of integer for 5 numbers and find out the minimum number.
- Declare two arrays of integers. Print the UNION set of these two arrays.
- Declare two arrays of integers. Print the INTERSECTION set of these two arrays.
- Declare two arrays of integers. Remove the common elements from the first array and print out the rest of the numbers.
- Take ten integers in an array and find out the frequency of numbers.
Example: 1 1 2 2 2 3 0
0 occurred 1 time
1 occurred 2 times
2 occurred 3 times
3 occurred 1 time