TripleX Terminal Screenshot Showcase

For now this is waht I have.

#include <iostream>

int main()
{
    // Print welcome messages to the terminal
    std::cout << std::endl;
    std::cout << "You are a member of the Anti-Bomb Squad trying to disarm a bomb.\n";
    std::cout << "You have to enter the correct codes to prevent an explosion!\n";

    // Declare 3 number code
    int a{4};
    int b{5};
    int c{2};

    int sum{};
    sum = a + b + c;
    int prod{};
    prod = a * b * c;

    // Print sum and product to the terminal
    std::cout << "There are 3 numbers in the code.\n"
    std::cout << "The codes add-up to: " << sum << "\n";
    std::cout << "The codes multiply to: " << prod << "\n";

    return 0;
}

Hi, I am finished with the TripleX

this is my TripleX game so far and this is before i reached input(im still in naming and self documenting code)


my go at the tripelx game (but without numbers or ranges or difficulty because they wouldnt suit my version)

Privacy & Terms