I have x number of students with their names and notes, all this I'm going through in a For, but of these students I need to show the number of names that start with A and end in S (I can not include arrangements, please go to the most basic)
This is the code I have for the:
cantEst=Integer.parseInt(JOptionPane.showInputDialog("Ingrese la cantidad de estudiantes : "));
for (int i=0;i<=cantEst;i++)
{
nombre=JOptionPane.showInputDialog("Ingrese nombre del estudiante ");
nota=Integer.parseInt(JOptionPane.showInputDialog("Ingrese la nota del estudiante "+(nombre)));
}