#include <iostream>
int main()
{
// Print welcome messages to the terminal
std::cout << "Welcome to the world of Mathemon.";
std::cout << std::endl;
std::cout << "Enter the three mathemagical numbers to continue..." << std::endl;
// Declare mathemagical numbers
const int a = 4;
const int b = 2;
const int c = 1;
const int sum = a + b + c;
const int product = a * b * c;
// Print sum and product to the terminal
std::cout << std::endl;
std::cout << "- There are three numbers." << std::endl;
std::cout << "- They add up to: " << sum << std::endl;
std::cout << "- They mutiply to give: " << product << std::endl;
return 0;
}
1 Like
I like it!