Explore BrainMass
Share

Converting Java to pseudo-code

This content was STOLEN from BrainMass.com - View the original, and get the solution, here!

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));
}
}

© BrainMass Inc. brainmass.com September 19, 2018, 1:01 am ad1c9bdddf - https://brainmass.com/computer-science/pseudocode/converting-java-to-pseudo-code-200403

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