Write a program for students it will take five subjects marks and find the total of all the subjects
marks also find the percentage of the student.
Share
Write a program for students it will take five subjects marks and find the total of all the subjects
marks also find the percentage of the student.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
public class Marks{
public static void main(int maths, int english, int hindi, int science, int computer)
{
int total = maths+english+hindi+science+computer;
double percentage = total/5;
System.out.println("Total : "+total) ;
System.out.println(" Percentage : "+percentage);
}
}
.
.
.
.
HOPE THIS HELPS YOU
.
.
.
.
PLEASE MARK AS BRAINLIEST AND FOLLOW ME TOO