Posts by MarioSantos • 46 points
4 posts
-
1
votes2
answers64
viewsA: bishop’s move on chess
For you to be able to move the bishop diagonally, it would be ideal for you to use an array to visualize the movement on the board, knowing the line and the column and also for you to store the…
canswered MarioSantos 46 -
0
votes2
answers355
viewsA: Doubt in LANGUAGE C
Your code if you were not reading the If and Elses, would not print the shall have a total salary of : So, the code error is in this same sentence, you did not put %f to the float print, but…
canswered MarioSantos 46 -
2
votes1
answer44
viewsA: I’m having a problem with my code I can’t bring the data from one function to another!
In your code I found 2 errors, which were: Do not call the add function within the print function Do not declare TOTAL variable The fixes were basically what I quoted above and their code worked…
-
0
votes1
answer59
viewsA: I wonder why my code doesn’t work, I believe my logic is correct, but it’s picking up garbage
Yes one of the biggest problems of your code was the memory junk that was entering the smallest, because as it was inside an ELSE IF, if you only put numbers bigger than the first number, it would…