Bienvenido a Tecnohackers

Tecnohackers » Programacion » Area de Programacion » Programacion a Bajo Nivel. APIs, Hooking, ASM, C/C++, etc.
 » 

Area del círculo



Autor Tema: Area del círculo  (Leído 926 veces)

Desconectado P4|3L0

  • Asiduo
  • *
  • Mensajes: 75
  • TecnoHacker un nuevo proyecto.
    • http://www.tecnohacker.com
Area del círculo
« en: Diciembre 29, 2009, 10:41:08 am »
Código: You are not allowed to view links. Register or Login
#include <stdio.h>
#include <windows.h>
#define PI 3.1415926535897932384626433832795

int main()
{
float numero;
    float radio, area;

system("title Area del Círculo by P43L0");
    system("color 0c");
    printf("Ingrese el radio de su circunferencia: ",radio);
    scanf("%f", &radio);
area = radio * PI * radio;
    printf( "El area es: %f\n", area );
system("PAUSE");
    system("CLS");
    return 0;
    }



Tags:
Tags:

 


SMF 2.0.19 | SMF © 2016, Simple Machines
Paginas Afiliadas
Twitter - FaceBook - Daraxblog
Designed by Smf Personal