Enclosing CHscore=CHscore;
Enclosing ENscore=ENscore;
Enclosing MAscore=MAscore;
Enclosing SCscore=SCscore;
}
System. The out. Println (" input student information as required ");
for(int i=0; i
Stus [I]=new Student2 (input nextInt (), input the nextInt (), input the nextInt ());
This step is one by one manually enter
I want to make the program randomly generated four grades and fill in the
To make the following changes
for(int i=0; i
Stus [I]=new Student2 (rd. NextInt (101), rd., nextInt (101), rd., nextInt (101), rd., nextInt (101));
Why is the final output of all 0
CodePudding user response:
CodePudding user response:
Can take the full code issued to you, thank youCodePudding user response: