Write a program that uses a structure named MovieData to store the following information about a movie: title director yearReleased r unningTime (in minutes) productionCosts firstYearRevenues firstYearProfits (which needs to be computed) The program should create an array of ten elements of type MovieData and calls the following functions to process and writes to the output file: input: It reads values of first six members of each elements of the array. profits: It computes firstYearProfits (firstYearRevenues – productionCosts). output: It writes (in a clearly formatted manner) with headings all the values (read and computed) to the output file. The first 6 members of the structure isn\'t the hard part. I just don\'t understand the productionCosts/firstYearRevenues/firstYearsRevenues... like am I reading that from the imaginary input file, then computing? or what? Solution First thing, It is not good approach to ask user to input details about 10 movies. This may be cumbersome. So, I feel the program expects the inputs (6 inputs for each element of array) from an input file. I can say that the each movie information is stored in single line seperated by any special character ( may not be a \'space\', because movie name may contain spaces). .