Originally Posted by

**Atia of the julii** public class TriangleArea {

{

for (int a= 1; a <= 20; a++) {

for (int b= a; b <= 20; b++) {

for (int c= b; c <= 20; c++) {

if a < b+c && b < a+c && c < a+b (a, b, c)) break;

public static double area(double a, double b, double c){

double s = Math.sqrt( (a + b + c) / 2 ) ;

s = s * (s - a) * ( s - b ) * (s - c );

return s;

}

}

I'm just not sure how to put it all together...

should the above look more like this now, to print the table would I need to include 4 separate System.out.println's at the end?!

I really do appreciate all of your help and I'm sorry I'm not proficient enough to make best use of your advice :(