fork(1) download
  1.  
  2. #include <stdio.h>
  3. double Power(int x,int y,int z)
  4. {
  5. int n;
  6. if(x>=y){
  7. if(z>y){
  8. n=y;}
  9. else{
  10. n=z;}
  11. }
  12. if(x<y){
  13. if(z<x){
  14. n=z;}
  15. else{
  16. n=x;}
  17. }
  18. return n;
  19.  
  20. }
  21.  
  22. int main(void) {
  23. // your code goes here
  24. double m;
  25. m=Power(1,3,0);
  26. printf("min=%f\n",m);
  27.  
  28. return 0;
  29. }
  30.  
  31.  
Success #stdin #stdout 0s 5356KB
stdin
Standard input is empty
stdout
min=0.000000