Computer Science, asked by pritambasu1009, 9 months ago

write a program to accept name of a student and marks on subject out of 100 each display name and Percentage obtained​ in Java Programming​

Answers

Answered by havockarthik30
17

Explanation:

public class Student_Marks.

int n, total = 0, percentage;

Scanner s = new Scanner(System.

System. out. print("Enter no. of subject:");

n = s. nextInt();

int marks[] = new int[n];

System. out. println("Enter marks out of 100:");

for(int i = 0; i < n; i++)

can you follow me

Answered by raghuramansbi
3

Answer:

The program output is also shown below.

public class Student_Marks.

int n, total = 0, percentage;

Scanner s = new Scanner(System.

System. out. print("Enter no. of subject:");

n = s. nextInt();

int marks[] = new int[n];

System. out. println("Enter marks out of 100:");

for(int i = 0; i < n; i++)

Similar questions