- 4

Help me

Public static void main (String [] args) { int z = x+y; int x = 22; int y = 25; System.out.print1n("The sum of x+y = "+z); }

3rd Jan 2022, 6:07 PM
Kenneth Garcia
1 Answer
+ 2
* it is "public" not "Public" * it is "System.out.println" * you cannot add x+y before you declared them: but the addition after x and y ⭐ Tag the relevant programming language!
3rd Jan 2022, 6:27 PM
Lisa
Lisa - avatar