Looking for answers? Westonci.ca is your go-to Q&A platform, offering quick, trustworthy responses from a community of experts. Get quick and reliable answers to your questions from a dedicated community of professionals on our platform. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

Assume that a file named values.txt exists and that it contains a series of numbers, one per line in the file. Also assume that a program can successfully execute the following statements to open the file:

ifstream inputFile;
inputFile.open("values.txt");

Write a loop that reads each number from the file and displays each number on the screen.