Write a program that declares an array of 5 integers and assigns the values 10, 20, 30, 40, and 50 to its elements. Next, the program should display the elements greater than or equal to 30.
Input:
10 20 30 40 50
Output:
30 40 50
References: C From Theory