I want to help me please to write aprogram that computers whetger a given input for the lenghths of three sides of a triangle forming a right triangle or not.... and i'm attach the file >>>> please help me >>>>> i wat to intreduce this assignment tomorow......[/COLOR]

Well the assignment is pretty self explanatory. After you read the triangles apply the Pythagorean theorem.

int a = // read the angle
int b = // read the angle
int c = // read the angle

// if a*a + b*b is equal to c*c then it is a right angle triangle

Then use System.out.println() statements to print the result according to the assignment.
Search this forum for examples on how to read input using the Scanner class.
API:
java.util.Scanner

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.