26-Masala-Teng tomonli uchburchak tomoni berilgan, uchburchak yuzasi topilsin


Download 250.5 Kb.
Sana10.11.2020
Hajmi250.5 Kb.

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();


}


Download 250.5 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2020
ma'muriyatiga murojaat qiling