Kotlinlearncs.online LogoJava
Return to List

Solve: Primitive Assignments

Created By: Ellen Spertus
/ Version: 2023.12.0

Create two int variables named x and y, and initialize them to 1 and 2, respectively. Assign their sum to the variable z and print it.

Related Lessons

Stuck? You may find these lessons helpful:

Report a Problem

Attribution must link to this page: https://www.learncs.online/solve/java/primitive-assignments/[email protected]