// PL1/simple.cpp // A particularly simple example of C++ in action! // Niels Walet, last updated 04/12/2019 #include<iostream> int main() { const int current_year{2022}; //Declare and initialise std::cout << "C++ is the best programming language in "<<current_year<<"!"<<std::endl; return 0; } |