C ++ implementation of the approach
#include <bits/stdc++.h> NEW_LINE using namespace std ; void check ( int n ) { if ( n % 2 == 1 && n > 5 ) cout << " Yes STRNEWLINE " ; else cout << " No STRNEWLINE " ; }