diff --git a/Main.java b/Main.java index 2255c0a..e27b896 100755 --- a/Main.java +++ b/Main.java @@ -421,7 +421,7 @@ static void deallocate(int rn,int rtype) System.out.println("Empty Already"); return; } - System.out.println(" Do you want to checkout ? (y/n)"); + System.out.println("Do you want to checkout ? (y/n)"); w=sc.next().charAt(0); if(w=='y'||w=='Y') { @@ -458,7 +458,7 @@ static void order(int rn,int rtype) case 4: hotel_ob.deluxe_singleerrom[rn].food.add(new Food(i,q)); break; } - System.out.println("Do you want to order anything else ? (y/n)"); + System.out.println("Do you want to order anything else? (y/n)"); wish=sc.next().charAt(0); }while(wish=='y'||wish=='Y'); } @@ -582,7 +582,7 @@ else if(ch2>0) } catch(Exception e) { - System.out.println("Not a valid input"); + System.out.println("Invalid input"); } } }