write algorithm and flowchart to enter two angles of a triangle and find the third angle.
Answers
Answered by
3
Answer:
Write a C Program to input two angles from user and find third angle of the triangle. How to find all angles of a triangle if two angles are given by user using C programming. C program to calculate the third angle of a triangle if two angles are given.
Example
Input Enter first angle: 60
Enter second angle: 80
Output Third angle = 40 Search
Step by step descriptive logic to find third angle of a triangle -
1. Input two angles of triangle from user. Store it in some variable say a and b.
2. Compute third angle of triangle using formula c = 180 (a + b).
3. Print value of third angle i.e. print c.
Similar questions