Back
Kiem_Tra_1_2021608739.cpp
Save
// Kiem_Tra_1_2021608739.cpp #include
#include
#include
using namespace std; void nhapTamGiac(int &a, int &b, int &c) { do { cout<<"Nhap canh a: "; cin>>a; cout<<"Nhap canh b: "; cin>>b; cout<<"Nhap canh c: "; cin>>c; if (a+b <= c || a+c <= b || b+c <= a) cout<<"Do dai 3 canh tam giac khong hop le"<
>k; cout<<"Dien tich tam giac la: "<