Share
Explore BrainMass

Converting Java to pseudo-code

Public class testOperators
{
public static void main(String[] args)
{
int x;
int y = 12
double z = 13.0;
x = 14
System.out.println("x + y + z = " + (x + y +z));
x += y;
y--;
z++;
z *= x;
System.out.println("x + y + z = " + (x + y + z));
}
}

Solution Preview

The trickiest part of this java code is dealing with the arithmetic operators. In particular there are ...

Solution Summary

This solution starts with a few expressions written in Java and converts that to a pseudo-code algorithm.

$2.19