Hi
I think the problem is you haven't defined the methods isIsosceles (A, B, C), isScalene (A, B, C) , isRight (A, B, C) , & isEquilateral (A, B, C) in your code at all.
As per my knowledge these are not predefined methods of any
java package.So the answer could be that
you should define these method before you give a call to them.
If you define these methods ...your code should look something like this..........
//import java.awt.container;
import java.awt.*;
import java.util.*;
public class Check{
public int isIsosceles (A, B, C){
// method implementation here
return //return value here
}
public int isScalene (A, B, C){
// method implementation here
return //return value here
}
public int isRight (A, B, C){
// method implementation here
return //return value here
}
public int isEquilateral (A, B, C){
// method implementation here
return //return value here
}
public static void main (
String[] args){
int A, B, C, isosceles, scalene, right, equilateral;
System.out.println ("This program will help determine"
+ "what kind of triangle you have.");
A=3;
B=4;
C=5;
isosceles = isIsosceles (A, B, C);
scalene = isScalene (A, B, C);
right = isRight (A, B, C);
equilateral = isEquilateral (A, B, C);
System.out.println ("The triangle is: ");
if (right == 1)
System.out.println ("Right");
if (scalene == 1)
System.out.println ("Scalene");
if (isosceles == 1)
System.out.println ("Isosceles");
if (equilateral == 1)
System.out.println ("Equilateral");
}
}