@@ -0,0 +1,984 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Aclass CorniceNomeCognome%7B%0A%0A%09public static void main (String %5B%5D args)%7B%0A%09%0A%09Scanner in = new Scanner (System.in);%0A%09%0A%09String asterischi, spazi, nome, cognome;%0A%09int lungn;%0A%09int lungc;%0A%09%0A%09System.out.println (%22Inserisci il nome: %22);%0A%09nome = in.nextLine();%0A%09lungn = nome.length();%0A%09System.out.println (%22Inserisci il cognome: %22);%0A%09cognome = in.nextLine();%0A%09lungc = cognome.length();%0A%09%0A%09asterischi = %22********************%22 + %22********************%22 + %22********************%22 + %22********************%22;%0A%09spazi = %22                    %22 + %22                    %22 + %22                    %22 + %22                    %22;%0A%09%0A%0A%09%0A%09System.out.println (asterischi.substring(0, lungn + lungc + 6));%0A%09System.out.println (%22*%22 + spazi.substring(0, lungn + lungc + 4) + %22*%22);%0A%09System.out.println (%22*  %22 + nome + %22 %22 + cognome + %22  *%22);%0A%09System.out.println (%22*%22 + spazi.substring(0, lungn + lungc + 4) + %22*%22);%0A%09System.out.println (asterischi.substring(0, lungn + lungc + 6));%0A%09%7D%0A%7D%0A

Create CorniceNomeCognome.java