Goldbach 's Weak Conjecture for Odd numbers | C ++ implementation of the approach ; Driver code
#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 " ; } int main ( ) { int a = 3 ; int b = 7 ; check ( a ) ; check ( b ) ; return 0 ; }