Write a program to input grade, rollno, hindi, eng, maths, science, computer, and calculate the total and percentage. In Java. please give answer
Answers
Answer:
import java.util.Scanner;
public class KboatSDAGrades
{
public static void main(String args[]) {
final int TOTAL_STUDENTS = 100;
Scanner in = new Scanner(System.in);
int rollNo[] = new int[TOTAL_STUDENTS];
String name[] = new String[TOTAL_STUDENTS];
int s1[] = new int[TOTAL_STUDENTS];
int s2[] = new int[TOTAL_STUDENTS];
int s3[] = new int[TOTAL_STUDENTS];
int s4[] = new int[TOTAL_STUDENTS];
int s5[] = new int[TOTAL_STUDENTS];
int s6[] = new int[TOTAL_STUDENTS];
double p[] = new double[TOTAL_STUDENTS];
char g[] = new char[TOTAL_STUDENTS];
for (int i = 0; i < TOTAL_STUDENTS; i++) {
Explanation:
plz mark me in brainliest answer
Answer:
CLS
A-INPUT ROLL NO
B-INPUT HINDI %
C-INPUT ENG %
D-INPUT MATHS%
E-INPUT SCIENCE %
F-INPUT COMPUTER %
PRINT A+B+C+D+E+F/CALCULATE TOTAL PERCENTAGE
END
IF YOU LIKE MY ANS PLEASE MAKE ME BRAINLIAST ANS