Fixed readme
This commit is contained in:
parent
c1ae2b4e48
commit
3f99fefe87
|
@ -10,10 +10,6 @@ annotated "FizzBuzz" program
|
||||||
```
|
```
|
||||||
fizzbuzz :: (number) {
|
fizzbuzz :: (number) {
|
||||||
sum := 0;
|
sum := 0;
|
||||||
if number == 0 {
|
|
||||||
println("Input cannot be zero");
|
|
||||||
break sum; // Early return
|
|
||||||
}
|
|
||||||
for i : 0..number {
|
for i : 0..number {
|
||||||
if (i % 3 == 0) and (i % 5 == 0) {
|
if (i % 3 == 0) and (i % 5 == 0) {
|
||||||
println("fizzbuzz");
|
println("fizzbuzz");
|
||||||
|
|
Loading…
Reference in a new issue