Write
program in java using
parameterised input to take 5
subjects marks and print the
sum and percentage of the marks
from
full Marks 500
Answers
Answered by
2
Answer:
import java. util. Scanner;
public class MarksCalculator.
{ public static void main(String args[])
{ int markArray[] = new int[5];
int i; float sum=0;
float average, percentage; Scanner scan = new Scanner(System. in);
System. out. print("Enter marks for 5 Subjects : ");
for(i=0; i<5; i++){ markArray[i] = scan.
More items...•Sep 23, 2019
Explanation:
mark me brainlist please only one please please please
Similar questions