TripleX code so far

#include <iostream>

int main()
{
    //Here, we're setting up beginning of quest, with variables assigned to the password
    std::cout << "Welcome to the Thunderdome.  Only verified personel allowed.";
    std::cout << std::endl;
    std::cout << "What's the password?";
    std::cout << std::endl;
    std::cout << std::endl;

    const int a = 4;
    const int b = 7;
    const int c = 3;

    /*
    
    */

    const int sum = a + b + c;
    const int product = a * b * c;

    std::cout << "There are 3 numbers in the code" << std::endl;
    std::cout << "The codes add up to: " << sum << std::endl;
    std::cout << "The codes multiply to: " << product << std::endl;

    return 0; 
}

image

Privacy & Terms