Find number of factors of N when location of its two factors whose product is N is given | C # program to implement the above problem ; Function to find the number of factors ; print the number of factors ; Driver code ; initialize the factors position
using System ; class GFG { static void findFactors ( int a , int b ) { int c ; c = a + b - 1 ; Console . Write ( c ) ; } public static void Main ( String [ ] args ) { int a , b ; a = 13 ; b = 36 ; findFactors ( a , b ) ; } }