Posts by Vasco Pinhão • 9 points
1 post
-
-1
votes2
answers71
viewsQ: This code is leading me to an infinite cycle and I can’t figure out why
This code is leading me to an infinite cycle and I can’t figure out why. #include <stdio.h> #include <stdlib.h> #include <time.h> void troca (double *n1, double *n2) { double n; n…