26-Masala-Teng tomonli uchburchak tomoni berilgan, uchburchak yuzasi topilsin.
# include
# include
using namespace std;
int main ()
{
double a,S;
cout<<"Teng tomonli uchburchakning tomonining qiymatini kiriting "<
cout<<"a= "; cin>>a;
if(a>=0)
{
S=(sqrt(3)*a*a)/4;
cout<<"uning yuzasi S="<
main();
}
else
cout<<"a ga musbat son kiriting"<main();
}
Do'stlaringiz bilan baham: |