triangle angle sum
#include <iostream>
int main() {
// Declare variables to store angles
float angle1, angle2, angle3;
// Prompt user for input
std::cout << "Enter the measure of angle 1: ";
std::cin >> angle1;
std::cout << "Enter the measure of angle 2: ";
std::cin >> angle2;
// Calculate the third angle using the triangle angle sum property
angle3 = 180 - angle1 - angle2;
// Display the result
std::cout << "The measure of angle 3 is: " << angle3 << std::endl;
return 0;
}