0
respostas

Exercício Perfil II

import java.util.Scanner;

public class Perfil { public static void main(String[] args) { Scanner scanner = new Scanner(System.in);

    System.out.print("Digite seu nome: ");
    String nome = scanner.nextLine();

    System.out.println("Olá " + nome + "!");
    System.out.println("Tudo bem ? ");

    scanner.close();
}

}