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; } }
5 Answers
+ 4
You did not print out anything.
+ 2
Here's a hint: read the lesson and pay attention to the part that says something about System.out.println...
+ 2
System.out.println(. );
Use this and print what you want
+ 1
Please tag relevant language this is not javascript
https://code.sololearn.com/W3uiji9X28C1/?ref=app
+ 1
Thats not javascript and also you didnt print anything just type
System.out.println(wins + ties);