Miglioria stampa
This commit is contained in:
@@ -211,7 +211,7 @@ public class listaSpesa {
|
||||
|
||||
do {
|
||||
error = false;
|
||||
System.out.print("Il prodotto è un genere alimentare? [S/n]");
|
||||
System.out.print("Il prodotto è un genere alimentare? [S/n] ");
|
||||
scelta = sc.nextLine().toLowerCase();
|
||||
|
||||
if (scelta.equals("y") || scelta.equals("s")) {
|
||||
@@ -282,7 +282,7 @@ public class listaSpesa {
|
||||
do {
|
||||
do {
|
||||
error = false;
|
||||
System.out.print("Il prodotto è un genere alimentare? [S/n]");
|
||||
System.out.print("Il prodotto è un genere alimentare? [S/n] ");
|
||||
scelta = sc.nextLine().toLowerCase();
|
||||
|
||||
if (scelta.equals("y") || scelta.equals("s")) {
|
||||
@@ -327,7 +327,7 @@ public class listaSpesa {
|
||||
|
||||
do {
|
||||
error = false;
|
||||
System.out.print("È corretto? [S/n]");
|
||||
System.out.print("È corretto? [S/n] ");
|
||||
scelta = sc.nextLine().toLowerCase();
|
||||
|
||||
if (scelta.equals("y") || scelta.equals("s")) {
|
||||
@@ -400,7 +400,7 @@ public class listaSpesa {
|
||||
String scelta;
|
||||
do {
|
||||
error = false;
|
||||
System.out.print("Si ha la carta fedeltà? [S/n]");
|
||||
System.out.print("Si ha la carta fedeltà? [S/n] ");
|
||||
scelta = sc.nextLine().toLowerCase();
|
||||
|
||||
if (scelta.equals("y") || scelta.equals("s")) {
|
||||
|
||||
Reference in New Issue
Block a user