Perimeter and Area of Varignon 's Parallelogram | C # code to find the perimeter and area ; Function to find the perimeter ; Function to find the area ; Driver code
using System ; class GFG { public static double per ( double a , double b ) { return ( a + b ) ; } public static double area ( double s ) { return ( s / 2 ) ; } public static void Main ( ) { double a = 7.0 , b = 8.0 , s = 10.0 ; Console . WriteLine ( per ( a , b ) ) ; Console . Write ( area ( s ) ) ; } }