Driver Code
public static void Main ( String [ ] args ) { if ( isPerfectSquare ( 35 ) ) Console . WriteLine ( " Yes " ) ; else Console . WriteLine ( " No " ) ; if ( isPerfectSquare ( 49 ) ) Console . WriteLine ( " Yes " ) ; else Console . WriteLine ( " No " ) ; } }