0

Help me figure the error in this code to print out the total

public class Program { public static void main(String[] args) { int wins = 54; int ties = 31; } }

22nd Jan 2023, 11:19 AM
Mukaila Aremu
Mukaila Aremu - avatar
5 Antworten
+ 4
You did not print out anything.
22nd Jan 2023, 11:31 AM
Lisa
Lisa - avatar
+ 2
Here's a hint: read the lesson and pay attention to the part that says something about System.out.println...
22nd Jan 2023, 3:02 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
System.out.println(. ); Use this and print what you want
22nd Jan 2023, 3:23 PM
Sajal Mudgal
Sajal Mudgal - avatar
+ 1
Please tag relevant language this is not javascript https://code.sololearn.com/W3uiji9X28C1/?ref=app
22nd Jan 2023, 11:42 AM
PanicS
PanicS - avatar
+ 1
Thats not javascript and also you didnt print anything just type System.out.println(wins + ties);
24th Jan 2023, 7:55 AM
LUKICHA
LUKICHA - avatar