#include
int main()
{
// Back Story (Expression Statements)
std:: cout << "You are trying to get aimbot and hack into the Fortnite Servers";
std:: cout << std:: endl;
std:: cout << "Get the numbers correct to get in...";
std:: cout << std :: endl << std :: endl;
//Declare Code
const int CodeA = 4;
const int CodeB = 2;
const int CodeC = 1;
const int CodeSum = CodeA + CodeB + CodeC;
const int CodeProduct = CodeA * CodeB * CodeC;
// Printing Sum and Product
std:: cout << "There are three numbers in the code"<< std::endl;
std:: cout <<"*When you add these numbers, you get ";
std:: cout << CodeSum <<"*"<< std:: endl;
std:: cout << "*When you multiply these numbers, you get ";
std:: cout << CodeProduct<< "*"<< std::endl<< std :: endl;
//Showing User Input
int GuessA, GuessB, GuessC;
std:: cin >> GuessA;
std:: cin >> GuessB;
std:: cin >> GuessC;
int GuessSum = GuessA + GuessB + GuessC;
int GuessProduct = GuessA * GuessB * GuessC;\
//Showing if User is Right or Wrong
if (GuessSum==CodeSum && GuessProduct == CodeProduct)
{
std:: cout << "Nice Job, You're Getting Closer to being a Hacker!";
}
else
{
std:: cout <<"Oh, that's not quite right.";
}
return 0;
}