Condition to check that two numbers are in golden ratio
if ( ratio1 == ratio2 && ratio1 == "1.618" ) { Console . WriteLine ( " Yes " ) ; return true ; } else { Console . WriteLine ( " No " ) ; return false ; } }