Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. long double speed_ratio(int M, int m){
  5. return pow(M/m, 0.2);
  6. }
  7.  
  8. int main(){
  9. int M, m;
  10. scanf("%d %d", &M, &m);
  11. printf("[int] speed ratio : %.20Lf", speed_ratio(M, m));
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement