Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(int argc, char const *argv[])
  5. {
  6. double x,y,z;
  7. int limit = 65;
  8. for (x = 0.01; x < limit; x+=0.01){
  9. for (y = 0.01; y < limit; y+=0.01){
  10. for (z = 0.01; z < limit; z+=0.01){
  11. if (x*y*z == x + y + z ){
  12. printf("x : %f, y : %f, z : %f",x,y,z);
  13. }
  14. }
  15. }
  16. }
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement