Term Papers: Write a program that: reads in one number (an integer) from the user and writes the square of the entered value.
Write a program that: reads in one number (an integer) from the user and writes the square of the entered value.
• Get the input with a function called getNumber()
• Display the result with a function called showAnswer(int answer)
• Put the getNumber and showAnswer functions in a file called inOut.cpp
• Create a header file called inOut.h to allow main() to access the functions without forward declarations
• Put your main() function into a file called w01a.cpp
• Put a comment at the top of your main with your name and today’s date: