Computer Science, asked by Deepika6621, 11 months ago

Code for the highest marks of the given student in java

Answers

Answered by bestwriters
0

Code for the highest marks for 3 student:

class FindstudentwithHighestMarks

{

public static void main( String s[])

{

Student kumar = new Student ("Kumar", 72);

Student prakash = new Student ("Prakash", 88);

Student gowtham = new Student ("Gowtham", 89);

student topper = getstudentwithHighestmarks (munnu, satish, sreekanth);

System.out.println("The topper is" + topper. name);

}

public static Student getstudentwithHighest Marks (Student s1, Student s2, Student s3)

{

return();

}

}

Similar questions