Use cin to ask the user the name of the file open the file


Question:

File input: strings and numbers

Use cin to ask the user the name of the file. Open the file the user named. Read in two strings (a movie title and a movie snack) and an integer (year the movie was released) from the file.

Close the file and print the two string variables. Print the year movie reaches its 100th anniversary.

Note: There will be a hidden test that will read from a different file having the same format as the file linked above but with different content.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Use cin to ask the user the name of the file open the file
Reference No:- TGS02880812

Expected delivery within 24 Hours