Driver program
static public void Main ( ) { long num = 9 ; if ( isThreeDisctFactors ( num ) ) Console . WriteLine ( " Yes " ) ; else Console . WriteLine ( " No " ) ; num = 15 ; if ( isThreeDisctFactors ( num ) ) Console . WriteLine ( " Yes " ) ; else Console . WriteLine ( " No " ) ; num = 12397923568441 ; if ( isThreeDisctFactors ( num ) ) Console . WriteLine ( " Yes " ) ; else Console . WriteLine ( " No " ) ; } }