We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0018b42 commit 345cc3fCopy full SHA for 345cc3f
Fibonacci.rs
@@ -2,6 +2,6 @@ fn main(){
2
let root = 5_f32.sqrt();
3
let phi = (1.0 + root) / 2.0;
4
for n in 0..16 {
5
- print!("{}", (phi.powi(n) / root).round());
+ print!("{} ", (phi.powi(n) / root).round());
6
}
7
0 commit comments