int IsRightTriangle(float a, float b, float c)
{
if((a*a + b*b == c*c) || (b*b + c*c == a) || (a*a + c*c == b*b)){
return 1; //returns 1 if it's a right triangle
}else{
return 0; // returns 0 if it isn't a right triangle
}
}
Code Example |
---|
C :: |
:: how can i show ant text by onclick |
C :: install zoom on ubuntu |
:: |
:: |
:: |
:: |
:: |
:: Dart integer User input |
Dart :: |
:: |
:: |
:: |
Dart :: |
Dart :: typeof dart |
:: how to use hexadecimal color in flutter |
Dart :: |
:: |
:: |
:: linearprogressindicator flutter |
Dart :: |
Dart :: |
:: |
:: |
Dart :: dart switch case |
:: |
:: |
:: |
:: initialroute flutter |
:: |