Check if A can be converted to B by reducing with a Prime number | C # implementation to find if it is possible to make a equal to b ; Function to find if it is possible to make A equal to B ; Driver Code ; Function Call
using System ; class GFG { static bool isPossible ( int A , int B ) { return ( A - B > 1 ) ; } public static void Main ( ) { int A = 10 , B = 4 ; if ( isPossible ( A , B ) ) Console . Write ( " Yes " ) ; else Console . Write ( " No " ) ; } }