fn
main
(
)
{
for
n
in
1..101
{
let
mut
out
:
String
=
""
.
to_string
(
)
;
if
n
%
3
==
0
{
out
+=
"Fizz"
;
}
if
n
%
5
==
0
{
out
+=
"Buzz"
;
}
if
out
==
""
{
out
=
n
.
to_string
(
)
;
}
println!
(
"{}"
,
out
)
;
}
}
Not terrible enough, you didn’t even reverse the indentation. Try harder next time.
This is supposed to be on a Drake-variant, with this as the worst one
The plans for the panels are:
K&R style: Normal
Allman style: Fair
Whitesmiths style: Obscure
This: No.
Then that makes sense. I still want to make this more obgrisated, though.