MathExercise4

MathExercise4 - / int vara=3; int varb=4; vara++;--varb;

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class MathExercise4 { public static void main(String[] args) { // Add statements to print out the results // of expressions as directed in the exercise
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: / int vara=3; int varb=4; vara++;--varb; System.out.print("vara="+(++vara)+",varb="+(varb--)); S } }...
View Full Document

Ask a homework question - tutors are online