Editorialist: Jingbo Shang, Anudeep
Given an array of integers and a number X. You need to tell how many of those integers are greater than or equal to X.
You may follow the following steps:
- Load the integers and store them in an array
- Load the number X
- Loop over the array, compare each element with X.
- Maintain a counter to record the total number.
AUTHOR’S AND TESTER’S SOLUTIONS:
The links will be fixed soon.
Author’s solution can be found here.
Tester’s solution can be found here.