Saturday
October 25, 2014

Homework Help: Java

Posted by SCCC on Saturday, January 31, 2009 at 3:35pm.

I need help putting the following trace into pseudocode


1 public class testOperators
2 {
3 public static void main(String[] args)
4 {
5 int x;
6 int y = 12
7 double z = 13.0;
8 x = 14
9 System.out.println(x + y + z = + (x + y +z));
10 x += y;
11 y--;
12 z++;
13 z *= x;
14 System.out.println(x + y + z = + (x + y + z));
15 }
16 }

Trace:
Line # X Y Z Output
5 ?
6 12
7 13.0
8 14
9 x + y + z = 39.0
10 26
11 11
12 14.0
13 364

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Java - 1 public class testOperators 2 { 3 public static void main(String[] args...
Java Panel Problem - I am supose to draw a grid and center it with a 10 pix ...
computer science - Im trying to create an arraylist that's sorted but I have no ...
programming - m trying to create an arraylist that's sorted but I have no idea ...
Computers - //program that puts two lists in order in one single list with all ...
Computer Science - //program that puts two lists in order in one single list ...
Java - I am supposed to convert a program i already made into a Java console ...
Computer Sciene-java - Write a loop that will continuously prompt the user for ...
shabou - Can someone please make a Binarytree of these methodes in Java?: public...
Java help please - I am trying to run the following program and am getting this ...

Search
Members