Program to find the number of region in Planar Graph | C # implementation of the approach ; Function to return the number of regions in a Planar Graph ; Driver code
using System ; class GFG { static int Regions ( int Vertices , int Edges ) { int R = Edges + 2 - Vertices ; return R ; } static public void Main ( ) { int V = 5 , E = 7 ; Console . WriteLine ( Regions ( V , E ) ) ; } }