Function to print the desired result if unique solutions exists , otherwise prints no solution or infinite solutions depending upon the input given .
static void PrintResult ( float [ , ] a , int n , int flag ) { Console . Write ( " Result ▁ is ▁ : ▁ " ) ; if ( flag == 2 ) Console . WriteLine ( " Infinite ▁ Solutions ▁ Exists " ) ; else if ( flag == 3 ) Console . WriteLine ( " No ▁ Solution ▁ Exists " ) ;