CanFormTriangle Algorithm.

Any questions do not hesitate to contact.

/**
 * Author: Isaac
 * Date:
 * Description: Return true if you can form a triangle
 * Time: O(1)
 */
bool canFormTriangle(double a, double b, double c) {
  return (a + b > c) && (a + c > b) && (b + c > a); }

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!