Other Java Programs - Prefix, Postfix Incrementors/Decrementors - Java
Other / Requested Java Programs
Write a java program that initializes two integers variables x and y to 0, prints out the increments (using prefix and postfix) of x, resets the value of x to zero. Then using postfix, increment the value of x and store its value in y, then print the postfix values of x and y. then, using prefix, increment the value of x and store its value in y. print the prefix values of x and y.
Happy Steeming Everyone! :)