diff --git a/Array/467_Practice_makes_us_perfect.cpp b/Array/467_Practice_makes_us_perfect.cpp new file mode 100644 index 0000000..88ed595 --- /dev/null +++ b/Array/467_Practice_makes_us_perfect.cpp @@ -0,0 +1,24 @@ +// https://www.codechef.com/problems/PRACTICEPERF?tab=statement + +#include + +using namespace std; + +int main() +{ + int arr[4]; + int count = 0; + for (int i = 0; i < 4; i++) + { + cin >> arr[i]; + } + for (int i = 0; i < 4; i++) + { + if (arr[i] >= 10) + { + count++; + } + } + cout << count << endl; + return 0; +} \ No newline at end of file