Assume the following variable declarations: double x = 4.5;b…

Questions

Assume the fоllоwing vаriаble declаratiоns: double x = 4.5;bool b = true;int[] v = new int[] { 1 }; Write down valid calls (from within the same class) to each method given its heading below.  Store any value returned in a variable.  Use only the above variables in your statements. a. public static double Avg(int[] values)b. public static void Convert(double num, out bool rounded)c. public static int[] Fraction(double val)d. public static void Incr(ref int val) a. [a] b. [b] c. [c] d. [d]