From 2ddf1b151d443fc0ab1e28838ab16858c41f1751 Mon Sep 17 00:00:00 2001 From: Jeff Jetton Date: Tue, 16 Feb 2021 07:08:52 -0600 Subject: [PATCH] Moved instructions out of separate class and into main Bagels.java --- 05 Bagels/java/Bagels.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/05 Bagels/java/Bagels.java b/05 Bagels/java/Bagels.java index c5c0d71c..435b5644 100644 --- a/05 Bagels/java/Bagels.java +++ b/05 Bagels/java/Bagels.java @@ -49,7 +49,11 @@ public class Bagels { String s = scan.nextLine(); if (s.length() == 0 || s.toUpperCase().charAt(0) != 'N') { System.out.println(); - BagelInstructions.printInstructions(); + System.out.println("I am thinking of a three-digit number. Try to guess"); + System.out.println("my number and I will give you clues as follows:"); + System.out.println(" PICO - One digit correct but in the wrong position"); + System.out.println(" FERMI - One digit correct and in the right position"); + System.out.println(" BAGELS - No digits correct"); } // Loop for playing multiple games