Paste Search Dynamic
Recent pastes
weight height
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.         // your code goes here
  5.         float weight;
  6.         float height;
  7.         float ans;
  8.         scanf("%f",&weight);
  9.         scanf("%f",height);
  10.         ans=weight/(height*height);
  11.         printf("%.2f/(%.2f*%.2f)",weight,height,ans);
  12.         return 0;
  13. }
  14.  
Parsed in 0.001 seconds