Converting Java to pseudo-code
Not what you're looking for?
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));
}
}
Purchase this Solution
Solution Summary
This solution starts with a few expressions written in Java and converts that to a pseudo-code algorithm.
Solution Preview
The trickiest part of this java code is dealing with the arithmetic operators. In particular there are ...
Purchase this Solution
Free BrainMass Quizzes
Java loops
This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.
Word 2010: Tables
Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
Word 2010: Table of Contents
Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.