Driver program to test above function
public static void Main ( ) { if ( checkAbundant ( 12 ) ) Console . WriteLine ( " YES " ) ; else Console . WriteLine ( " NO " ) ; if ( checkAbundant ( 15 ) ) Console . WriteLine ( " YES " ) ; else Console . WriteLine ( " NO " ) ; } }