Skip to content

Commit

Permalink
there multilple issues with the fizzBuzz code....
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonak-Adipta-Kalita committed May 6, 2023
1 parent fca6289 commit 54dc2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fizzbuzz.jak
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var fizzBuzz = func (number) {
var buzz = "buzz";

if ((number % 3 == 0) && (number % 5 == 0)) {
println(fizz, buzz);
println(fizz + buzz);
} elif (number % 3 == 0) {
println(fizz);
} elif (number % 5 == 0) {
Expand Down

0 comments on commit 54dc2e9

Please sign in to comment.