Posts by Yuri Coelho • 35 points
2 posts
-
3
votes1
answer156
viewsQ: Conditional Operations Error in R
I am programming a simple recursive algorithm to compute the Fibonacci sequence in R, as I do in C. Follow the same below: fibonacci <- function (n) { if (n == 1L) return (0L) else if (n == 2L ||…
-
0
votes3
answers1105
viewsQ: Reading Struct Strings with Wrong Scanf
Good guys, I am developing a C code that performs data registration in files. However, I have a problem in the function register, which you will see below among the codes. Struct of the client:…