Function to print ' True ' or ' False ' according to condition of semiprime
static void semiprime ( int n ) { if ( checkSemiprime ( n ) != 0 ) Console . WriteLine ( " True " ) ; else Console . WriteLine ( " False " ) ; }