Search
 
SCRIPT & CODE EXAMPLE
 

CPP

C++ Third angle of a Triangle

	int x, y, z;
    
    cout << "Enter the first angle of the triangle: ";
    cin >> x;
    cout << "Enter the second angle of the triangle: ";
    cin >> y;

    z = 180 - (x + y);

    cout << "The third angle is: " << z << endl;
Comment

PREVIOUS NEXT
Code Example
Cpp :: how to create a pair of double quotes in c++ 
Cpp :: ue4 bind function to button clicked c++ 
Cpp :: stock a file in a vector cpp 
Cpp :: check file exist cpp 
Cpp :: file handling 
Cpp :: how to interface c++ in haxe 
Cpp :: how to set a string equal to another string cpp 
Cpp :: ue4 ftext to int 
Cpp :: cuda constant memory initialisation 
Cpp :: compile notepad++ c++ 
Cpp :: how to change certain number from set c++ 
Cpp :: c++ run loop for 5 seconds 
Cpp :: C compile SDL program using mingw 
Cpp :: how can I replace a pattern from string in c++ 
Cpp :: size of 2d array in c++ 
Cpp :: recursive binary search 
Cpp :: qstring to char* 
Cpp :: c++ check if file exits 
Cpp :: how to write a hello world program in c++ 
Cpp :: cannot open include file: 
Cpp :: cpp merge two sets 
Cpp :: c++ kruskal algorithm 
Cpp :: g++ optimization flags 
Cpp :: how to compare lower case character to uppercase cpp 
Cpp :: c++ read image opencv in folder 
Cpp :: in c++ the default value of uninitialized array elements is 
Cpp :: string to vector char c++ 
Cpp :: number of characters in c++ files 
Cpp :: c++ fizzbuzz 
Cpp :: c++ get type name 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =