Final Exam EST 120 - Computer Programming For Engineering Technologists
Final Exam EST 120 - Computer Programming For Engineering Technologists
Name: ________________________________________________________
1. Create a program that will input elements in array and will sort the elements in an array from highest to lowest
value. Note: The number of elements may depend on the value entered. The number of elements should be at least
5.
Sample Output:
Sorting...
35 22 17 10 5
2. Create a program that will input elements in array and will sort the elements in an array from lowest to highest
value. Note: The number of elements may depend on the value entered. The number of elements should be at least
5.
Sample Output:
Sorting...
5 10 17 22 35 60
3. Write a C program to input elements in array and find reverse of the array.
Sample Output:
Input:
Output: