لو سمحتو اريد تصصيح لهدا البرنامج
One of the academic staff is trying to keep track of students’ information and their semester results in his class. Write a program to read the name, metric
number, and the semester average for ten students in this class using
one array to save the information for each individual student. Your program should allow the user to read the related information about each student and show the results.
import java.util.Scanner;
public class Assignment1 {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
String []a=new String [1];
int [] b=new int[1];
System.out.println("Enter Student name and metriv number" + a[1]+ b[1] );
a[1]=scan.nextLine();}
public static void Student (String []a){
for( int i=0;i>=10;i++){
System.out.println("Enter" + a);
}
}
public static void MetricNumber (int b){
for(int m=0; m>=10;m++){
}
}
}