Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- float altura;
- float peso;
- float bmi;
- printf("Indique altura: ");
- scanf("%f", &altura);
- printf("Indique peso: ");
- scanf("%f", &peso);
- bmi = peso / (pow(altura,2));
- printf("su bmi es %f", bmi);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement