+ 2

How to stop read code in java? [SLOVED by LeoBeliik]

My code: if (HP == 1) { System.out.println ("for HP you can use only 5, 10, 15, 20") Here I need to stop code, how make it?

29th Dec 2019, 4:18 PM
FerutiiA1t
FerutiiA1t - avatar
2 odpowiedzi
+ 2
LeoBeliik, woo, thank you, it's really work
29th Dec 2019, 4:40 PM
FerutiiA1t
FerutiiA1t - avatar
0
Twylux , try with break or return statement 🐱
29th Dec 2019, 4:36 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar