Veritas Logic & Computation Homework 1: Triangle Angles
public class Homework1 {
public static void main(String args[]) {
// Out of bounds!!!
/*
* Write a program that checks the given three angles of a triangle, and returns
* whether the triangle angles are valid, or not.
* The triangle angles can also be decimal numbers, so please use the variable type double.
*
* Example: Input: angle 1: 60 angle 2: 60 angle 3: 60 Output: "The triangle is valid."
* Input: angle 1: 50 angle 2: 50 angle 3: 50 Output: "The triangle is invalid."
*
*/
//Out of bounds!!!
}
}