Logical Statements | Java | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Logical Statements | Java

Code coach It says “identifier expected” If integer is multiple of 9 and 10 it outputs “You won $200” If input is multiple of 4 or 6 it outputs “You won $50” It is not working, can u help https://code.sololearn.com/cZCLwLS7bCBb/?ref=app

8th Dec 2020, 2:27 PM
hotto doggu
hotto doggu - avatar
3 Réponses
0
hotto doggu , in all your print statements the dot "." is outside of the string. Look at the corrected code. Hope it helps you. https://code.sololearn.com/cAT3c7L2hB7k/?ref=app
8th Dec 2020, 2:32 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
You are putting dot(full stop) in System.out.println at end. Why? It's syntax error. Remove...
8th Dec 2020, 2:33 PM
Jayakrishna 🇮🇳
0
I have to be misunderstood a command in previous exercises, now i got it, thank you so much guys Jayakrishna🇮🇳 TheWh¡teCat 🇧🇬
8th Dec 2020, 3:08 PM
hotto doggu
hotto doggu - avatar