C++

profileh2o
3.docx

Using an if-statement

Create a program that asks the user the following:

What is The Answer to the Ultimate Question of Life, the Universe, and Everything?

If the user enters in 42, then output:

You are correct

If the user enters anything else then output:

Nope