Question: I don't know how to make it return 1. Hint1 5 + 7 = ?. Every time I say yes I want a hint, it
I don't know how to make it return "1. Hint1 5 + 7 = ?". Every time I say yes I want a hint, it returns what it automatically returns "Try next question." instead of displaying the hint. How do I fix this? 
G File: Tryjava CAUsers sarahDesktoplCscI 1100)Project GRASP CSD (Java) File Edit View Build Project Settings Tools Window Help resort A Files ort 38 81 java . util .seanner; .. public class Try public atatie vold manIBtrinat)arga) picSCI 1100ILab 8 . int coins-0 9ystem.out.print n. deorge and Feankse played basketbal at lunch. eorge node 5 baskets and rkie made 7 baskets. Row many baskets did deorge and Fxankie make together? int answer- kb.nextINtO Lab#8. Thompso Lab#8-Thomps Lab8Exercise1.cl Lab8Exercise1.ja LabBExercise2.cl Lab8Exercise2.ja Lab8Exercise3.cl Lab8Exercise3.ja Lab8Exercise4.cl Lab8Exercise4.ja Syaten.out.printin("rerteet! You won 1o coina!" e156 systen.out println"3orry that was wrong system-out.print("Would you like a hint? yes or no): "); string hinti-kb.neXt yaten.out-printin("1- Hint: 57- gysten.out .printIn("Try g1n1 , int try againikbnextint : [try-again! syatem.out.pzintin("Great! Yoa won 5 colna! it = L2){ System.out.printin("Try next question." ystom.out printin"Ty next question" MathMagicians.java ava Compile Messages jG MessagesRun IO Interactions End Clear Help -1. George and Frankie played basketball at lunch. George made 5 baskets and Frankie made 7 baskets. How many baskets did George and Frankie Sorry that was wrong : Would you like a hint? (yes or no): yen Try next question jGRASP: operation complete Browse Find Debug Workbench Line:6 Col:109 Code:70 Top:1 ENG 9:14 AM US 2017-11-23 Type here to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
