+ 1
How am I to know what to put in para thesis for the print function for question #2 on Primitive Operators?
System.outPrintIn( ). I'm stuck on the previous fill in the blank question before this question.
2 Antworten
+ 1
You have two variables:
int x = 2;
int y = 4;
You want the sum of both:
int result = x + y; //2 + 4
You want to print the sum:
System.out.println(result);
+ 1
How do I post my output(code) for the lesson 4 If Statement Went Wrong? I couldn't tell if anything was wrong but I hit run a long error message came up.