C++
File input: strings and numbers
Ask the user for a file name. Open the named file, and read in two strings and an integer. Close the file and print the two string variables and one integer variable to the screen.
Note: There will be a hidden test that will read from a different file having the exact same format, but with different content, from the included file.