changed menu layout
This commit is contained in:
parent
01b89d7e77
commit
cb38d7392b
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -7,8 +7,7 @@ public abstract class AbstractMenu <T extends Product> extends ArrayList<T> {
|
||||
public void showMenu() {
|
||||
showMenuName();
|
||||
for (int i = 0; i < size(); i++) {
|
||||
System.out.println();
|
||||
System.out.println(i + 1 + ". "+get(i).getPrice()+ " "+get(i));
|
||||
System.out.println(i + 1 + ". " + get(i) + " " + get(i).getPrice());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user