Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  Leidy
Language: C/C++
Code:
#include <stdio.h>
#include <math.h>
#include <conio.h>
main() {
     int L,J,P;
        printf(" HIPOTENUSA ");
printf("ESTUDIANTE: LEIDY PACHECO 11-02");   
     printf(" Digite un numero ");
     scanf("%i", &L);
     printf(" Digite otro numero ");
     scanf("%i", &J);
     P=sqrt(pow(L,2)+pow(J,2));
     printf("Su hipotenusa es %i",P);
      getch();
}
     
Comments: