Follow along with the video below to see how to install our site as a web app on your home screen.
Not: This feature may not be available in some browsers.
#include <iostream>
#include <cmath>
int main (int c, char *v[]) {
float x,y,z;
std::cout << "Bir üçgenin kenarlarını sırasıyla girin : " ;
std::cin >> x;
std::cin >> y;
std::cin >> z;
float cevre = x + y + z;
float f = cevre / 2;
std::cout << "Üçgenin alanı : " << sqrt (f * (f-x) * (f-y) * (f-z));
return 0;
}
teşekkür ederimKod:#include <iostream> #include <clocale> #include <cmath> int main (int c, char *v[]) { float x,y,z; std::cout << "Bir üçgenin kenarlarını sırasıyla girin : " ; std::cin >> x; std::cin >> y; std::cin >> z; float cevre = x + y + z; float f = cevre / 2; std::cout << "Üçgenin alanı : " << sqrt (f * (f-x) * (f-y) * (f-z)); return 0; }
3 kenarı bilinen üçgenin alanı formulü :
![]()