Is it a right triangle? (Code help)

Hi! My task is to create a program that takes the input of three sides of a triangle and displays a message of whether or not it is a right triangle.

Here is what I have so far...

------------------------------

import java.util.Scanner;

public class triangle {

public static void main(String[] args) {

double sidea;

double sideb;

double sidec;

String answer;

Scanner in = new Scanner(System.in);

System.out.println("Enter the 3 sides of the triangle: ");

sidea = in.nextDouble();

sideb = in.nextDouble();

sidec = in.nextDouble();

//if it is a right triangle

if (((sidea * sidea) + (sideb * sideb)) == (sidec * sidec));

answer = "right triangle";

if (((sidea * sidea) + (sidec * sidec)) == (sideb * sideb));

answer = "right triangle";

if (((sidec * sidec) + (sideb * sideb)) == (sidea * sidea));

answer = "right triangle";

System.out.print(answer);

}

}

------------------------------------------------------

I need help making an else statement that says (if all that "if" statement above is NOT true, then it is NOT a right triangle)!

Thanks!!