# Hey guys quick question on my project

Printable View

• 03-04-2011, 05:53 AM
Phyxed
Hey guys quick question on my project
I have a project for my java class, and I was wondering if someone could explain to me the exact thing the problem is asking for? Im slowly trying to learn and I hope someone can help me out. Thanks.

There is a table with 3 rows and 3 columns in the following order of
variable name, value, and type. and another table right below with 2 rows and one main column that says calculations.

It says Use the table below the problem definition to analyze the problem (list variable names and types and any needed calculation)if needed.
PROBLEM DEFINITION: write a program that calculates the addition of three integers named x,y, and z and stores the result in another variable named answer. Note: The values for x,y, and z are 7,9, and 5 respectively.

It then says to use the table below which consist of 5 lines like 1,2,3,4,5 and says to write the algorithm that will solve the problem.

Thank you so much for your help guys! Ill be checking and replying so any assistance would be great! :)
• 03-04-2011, 07:35 PM
gcalvin
Quote:

Originally Posted by Phyxed
I have a project for my java class, and I was wondering if someone could explain to me the exact thing the problem is asking for?

Quote:

Originally Posted by Phyxed
PROBLEM DEFINITION: write a program that calculates the addition of three integers named x,y, and z and stores the result in another variable named answer. Note: The values for x,y, and z are 7,9, and 5 respectively.

Seems pretty clear to me. What does your code look like so far?

-Gary-