Write a program that reads in one number an integer from


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:

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program that reads in one number an integer from
Reference No:- TGS01044951

Expected delivery within 24 Hours