#include <stdio.h>

int main(int argc, char *argv[]) {
    int i;

    for(i = 1; i <= 100; i++) {
        if(i % (3*5) == 0) printf("FizzBuzz\n");
        else if(i % 5 == 0) printf("Buzz\n");
        else if(i % 3 == 0) printf("Fizz\n");

        /* default */
        else printf("%d\n", i);
    }

    return 0;
}
0:00 / 5:46

Hire the best developers

Don't waste time interviewing developers who aren't suitable for the job. Find out quickly how well someone can code. With Interview Zen, you set your own programming challenges and watch how candidates solve them online.

Capture the candidate's thought process and problem solving speed. See how they structure and revise their code over time. Evaluate their programming ability before you invest time in a face-to-face interview.

Try a demo question or create your own interview and start testing today.

This is a just a glimpse into what we're building. To get full access to our online interview engine, sign up below for your invite.

How It Works

Define Create the set of questions you'd like candidates to answer. Be as creative and job-specific as you like.

Invite Invite candidates individually or post the interview link on a job board and let candidates come to you.

Review Collaboratively review the recorded interviews in your own time in a shared evaluation space. Save time and money identifying the best developers.

Demo

Try an example question

Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz". (Thanks to Jeff Atwood)

Language: