Fortran style pseudocode: program fizzbuzz Do i = 1 to 100 set print_number to true If i is divisible by 3 print "Fizz" set print_number to false If i is divisible by 5 print "Buzz" set print_number to false If print_number, print i print a newline end do Pascal style pseudocode: procedure fizzbuzz For i := 1 to 100 do set print_number to true; If i is divisible by 3 then print "Fizz"; set print_number to false; If i is divisible by 5 then print "Buzz"; set print_number to false; If print_number, print i; print a newline; end C style pseudocode: void function fizzbuzz { for (i = 1; i <= 100; i++) { set print_number to true; If i is divisible by 3 { print "Fizz"; set print_number to false; } If i is divisible by 5 { print "Buzz"; set print_number to false; } If print_number, print i; print a newline; } } Structured Basic style pseudocode: Sub fizzbuzz() For i = 1 to 100 print_number = True If i is divisible by 3 Then Print "Fizz" print_number = False End If If i is divisible by 5 Then Print "Buzz" print_number = False End If If print_number = True Then print i Print a newline Next i End Sub