java assignment
|
|||
|
Rank: ? (6)
Member #: 29111 |
Aims and Objectives: Provide an opportunity for students to apply their knowledge of the "if-else" construct taught in week 6.
1. REQUIREMENTS Produce a Java program which, given three sides of a triangle, determines whether the triangle is: Equilateral - all sides the same length, Isosceles - two sides the same length or Scalene - no sides the same length Assume that any individual side must be a positive number not greater than 100.0. anyone got any ideas how i can start this off |
||
|
|||
|
|||
|
Rank: ? (4821)
Member #: 3416 |
break it into three parts: input, logic, and output.
input consists of prompting for the lengths of the 3 sides and reading them in to variables. logic consists of determining the triangle type by comparing the lengths. output is displaying the result of your logic.
my mind is like a steel trap! it only hangs on to the big stuff. visit my forums at track7.org
|
||
|
|||
|
|||
|
Rank: ? (6)
Member #: 29111 |
thanks man so i made to class's
traingle class and triangle App class it was quite striaght foward thanks anyway |
||
|
|||
|
|||
|
Rank: ? (2)
Member #: 29340 |
where can we post our questions
|
||
|
|||
|
|||
|
Rank: ? (2)
Member #: 29340 |
i need to work with transactions in java code how can we?
|
||
|
Please login or register to post a reply.