Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(int argc, char const *argv[])
- {
- double x,y,z;
- int limit = 65;
- for (x = 0.01; x < limit; x+=0.01){
- for (y = 0.01; y < limit; y+=0.01){
- for (z = 0.01; z < limit; z+=0.01){
- if (x*y*z == x + y + z ){
- printf("x : %f, y : %f, z : %f",x,y,z);
- }
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement