Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <iostream>
  2. #include <iomanip>
  3. #include <algorithm>
  4. #include <cmath>
  5. using namespace std;
  6.  
  7. int main() {
  8. int n, array[100];
  9. cin >> n;
  10. for (int i = 0; i < n; i++)
  11. if ((array[i] == 2) && (array[i] == 5)) {
  12. cout << "YES";
  13. break;
  14. }
  15. else {
  16. cout << "NO";
  17. break;
  18. }
  19.  
  20. system("pause");
  21. return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement