Write a c++ program to enter two angles. Check and print whether they are supplementary or not.
Answers
Answered by
1
Answer:
#include <iostream>
using namespace std;
int man(){
int a, b, c;
cout << "enter the first angle";
cin >> a;
cout << " \nenter the second angle";
cin >> b;
cout << "the angle is ";
((a+b) == 180) ? cout << "supplementary" : "not supplementary";
cout << "\n press enter to exit...... ";
cin >> c;
}
Explanation:
****************atul
Similar questions
Math,
2 months ago
Science,
2 months ago
Math,
2 months ago
Social Sciences,
5 months ago
Environmental Sciences,
10 months ago
Math,
10 months ago
Science,
10 months ago