Posts by Bruno Hryniewicz • 21 points
2 posts
-
1
votes1
answer55
viewsA: Error in binary vector search
Hello, your error is in scanf, the correct is to pass the address of x and not just x, because for being a function, to change the value of x it needs to be passed by reference. the correct then is:…
canswered Bruno Hryniewicz 21 -
1
votes1
answer56
viewsA: Problem with exponent operator in function
Hello, my first question is: The logic of his Vinc function is right?, def Vinc(V): X = 2 //você definiu X = 2, while(X <= 1): //você testou se X é <= 1, o que é false pois X = 2 // logo você…