Programlama | Programlama Dilleri | C Programlama Dili |C++

Hata
  • XML Parsing Error at 1:82. Error 9: Invalid character
´╗┐

Daire'nin ăevresini ve Alan?n? Hesaplayan Program

AăIKLAMA

Bu programá C++ derleyicisinde konsoldan girilen yar?šap de?erine g÷re bir dairenin ševresini ve alan?n? hesaplamaktad?r. Pi say?s? olarak 3.14 standart de?eri kabul edilmi?tir.

Program Kodu:

  1. //---------------------------------------------------------------------------
  2.  
  3. #include <vcl.h>
  4. #pragma hdrstop
  5. #include <iostream.h>
  6. #include <conio.h>
  7. //---------------------------------------------------------------------------
  8.  
  9. #pragma argsused
  10. int main(int argc, char* argv[])
  11. {
  12. float yaricap,alan,cevre;
  13. cout<<"Dairenin yaricapini giriniz: ";
  14. cin>>yaricap;
  15. alan=yaricap*yaricap*3.14;
  16. cevre=2*yaricap*3.14;
  17. cout<<"Dairenin Cevresi:"<<cevre<<endl;
  18. cout<<"Dairenin Alani:"<<alan<<endl;
  19. getche();
  20. return 0;
  21. }
  22. //---------------------------------------------------------------------------
  23. á
  24.  
Yorumlar (0)
Sadece kay─▒tl─▒ kullan─▒c─▒lar yorum yazabilir!
 
404 Not Found

404

Not Found

The resource requested could not be found on this server!


Proudly powered by LiteSpeed Web Server

Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.