Computer Science, asked by aabritipradhan, 2 days ago

Write a program in Java to accept 20 students name along with their total marks in SDA, arrange the name in ascending order and display name and total marks. ​

Answers

Answered by archismanC10
3

Answer:

Write it in Java.

Supposed input: Name: Marianne.

Supposed output: Marks: 95.

a) Start ( public class java)

(public static void main (string args[])

b) Accept the student's name ( Twenty of them)

( use int; like int 1; )

c) Output the marks stored ( Use "system. out. print( Your marks are " Marks"))

d) End.

Use these hints. It is going to be easy, then.

Note: If marks are stored, use int name; Marianne; marks= 95;

or,

use;

if name=( Marianne);

System.out.print (you've got a 95%, well done);

else if

name= (Sulagna);

System. out.print( You've got a 90%, well done) like this.

Similar questions