Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works
← Challenges 📅 Daily medium

predict operators and branches

Playing as a guest — your score won't be saved. Log in to keep it.

This program runs:

#include <iostream>

int main() {
    int a = 5;
    int b = 10;
    int c = 8;
    int d = 5;
    std::cout << a - b % c / d << '\n';
}

Predict the number it prints, then check your answer.

Close enough! points.

Not quite.

You predicted — the actual value was .

+ XP