package initialProjects;
import java.util.Scanner;
public class Java_Test {
public static void main(String [] args) {
Scanner test1 = new Scanner(System.in);
String p1;
System.out.println ("Hey, mom. Give me $15,00 ?");
p1 = test1.nextLine();
while (p1.equals("No way")) {
System.out.println ("");
System.out.println ("Aff, mom. Don't be a penny-pincher. Come on, it's only 15,00 bucks cause I'd wanna go out with my friends to take an ice cream ;D");
p1 = test1.nextLine();
}
System.out.println ("");
System.out.println ("Thanks, mom! You're the best! haha... Kisses >3");
}
}
Para escrever sua resposta aqui, entre ou crie uma conta.
Compartilhar