Bienvenido a Tecnohackers

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

Longitud del Circulo



Autor Tema: Longitud del Circulo  (Leído 908 veces)

Desconectado P4|3L0

  • Asiduo
  • *
  • Mensajes: 75
  • TecnoHacker un nuevo proyecto.
    • http://www.tecnohacker.com
Longitud del Circulo
« en: Diciembre 29, 2009, 10:41:50 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, longitud;

system("title Longitud del círculo by P43L0\n");
    printf("Ingrese el radio de su circunferencia: ",radio);
    scanf("%f", &radio);
longitud = 2 * PI * radio;
    printf( "El longitud es: %f\n", longitud );
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