#include using namespace std; float a, b, c; // This assignment is worth 5 points. // -1 if & is used instead of && // -3 for failing to have the correct logic int main() { cout << "Enter three side lengths: "; cin >> a >> b >> c; if(a+b>c && a+c>b && b+c>a) cout << "A triangle is possible." << endl; else cout << "A triangle is not possible." << endl; return 0; }