public static void Main(string[] args)
Student s1 = new Student();
Console.WriteLine(s1.Getpercentage());
Student s2 = new Student();
Console.WriteLine(s2.Getpercentage());
private int[] marks = new int[3];
public double Getpercentage()
return total/marks.Length;