General Atomics Interview Question

Write pseudocode. Input is an integer. If the integer is a multiple of 5, print buzz. If the integer is a multiple of 3, print fizz. If the integer is a multiple of 3 and 5, print fizzbuzz

Interview Answer

Anonymous

Oct 2, 2017

function (int input) if(input%3==0) print("fizz"); if(input%5==0)println("buzz");

1