Computer Science, asked by vaibyaviuniyal12, 2 months ago

write a java program to enter the marks of the student in five different subject​

Answers

Answered by sanasiju
3

Answer:

import java.util.*;

public class marks{

public static void main (string[] args){

Scanner s = new Scanner(System.in);

int a,b,c,d,e;

System.out.println("Enter marks in maths,science,English, Malayalam, history");

a = s.nextInt();

b = s.nextInt();

c = s.nextInt();

d = s.nextInt();

e = s.nextInt();

System.out.println("Marks are"+a+b+c+d+e);

}

}

Explanation:

pls mark as BRAINLIEST I will follow and thank you

Similar questions