//FIAP ctz srsrsrsrsrs #include<stdio.h> #include<stdlib.h> #include<math.h> #define PORCENTAGEMMININA 0.23 //23% int main(){          float h = 0, hoitoporcento = 0;          int batidas = 0;          printf("--Total batidas no solo-- \n\n");               while(h<=0){         printf("Digite uma altura:");         scanf("%f", &h);     }          hoitoporcento = h * PORCENTAGEMMININA;          printf("Altura minina: %.2f\n\n", hoitoporcento);          do{                h = h*0.95;                printf("Altura: %.2f \t", h);                                  batidas++;                printf("Batidas: %d \t", batidas);                printf("\n");             }while(hoitoporcento <= h);          printf("Total de batidas: %d\n\n", batidas);          system("pause");          return 0; }