Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class HuxleyCode {
- public static void main(String[] args) {
- Scanner keyboard = new Scanner(System.in);
- String especialRU = keyboard.nextLine().substring(3);
- String especialA2 = keyboard.nextLine().substring(7);
- String comando = "";
- while (keyboard.hasNextLine()) {
- comando = keyboard.nextLine();
- if (!comando.contains(":")) {
- comando = comando + ":@#234!@#)(*";
- }
- Aluno aluno = new Aluno(comando);
- System.out.println(aluno.sort(especialRU, especialA2));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement