Question: (1) in C language . (please be clear and typed) Here are the given #defines and a struct with explanations. These are the functions I
(1) in C language. (please be clear and typed)

Here are the given #defines and a struct with explanations.

These are the functions I need solved please!

and...


Thank you!
Congratulations! You have been hired as a developer for GryphCinemas in the creation and testing of their newest 'cineGryph' movie rating software. As the sole software developer of this product, you will create a program that will allow ten (10) reviewers to rate three (3) movies. All data will be read in from external files and parsed into structs. Each of the three movies will be rated by each of the ten judges on a binary scale: Y' or 'y' will represent the notion of recommending a movie 'N' or 'n' will represent the notion of not recommending a movie The software will take the parsed reviews and determine the most "critical" reviewers as well as the highest-rated movie(s). As a means of futureproofing, this program will also predict how a movie will perform based on state-of-the-art (not really) algorithms. a #define NUMBER_REVIEWERO #define NUMBER_MOVIES 3 #define MAX_STR 50 #define MAX_WORDS 10 //the total # of movie reviewers //the total # of movies //the max length of a string //max # of words in a movie title struct reviewStruct { char reviewer [MAX_STR); int feedback [NUMBER_MOVIES]; } //struct represents one single review. //this represents the name of the reviewer //this represents each individual movie rating FILE *openFileForReading(char *fileName); This function will take in a filename as a string and attempt to create a FILE pointer out of it. If the file opens successfully, a FILE pointer will be returned. Otherwise, NULL. You will only open the file for reading, not writing. int readMovies (FILE *file, char movieNames [NUMBER_MOVIES][MAX_STR]); This function will read movie titles from a FILE pointer variable named file, line by line, into the movieNames 2D array. The function will either return 1 (to indicate successful operation) or o to represent abnormal exit, which can be: Passing a NULL file pointer to the function Passing a file that has more lines than NUMBER_MOVIES Passing a file that has less lines than NUMBER_MOVIES . . . In normal operation, this function will read in exactly NUMBER_MOVIES lines. For example, for this file: Star Wars Incredibles Gone with the Wind the movieNames array will contain the strings "Star Wars", "Incredibles", and "Gone with the Wind". Make sure you test this thoroughlythis and the readReviews function represent the backbone of this application. Some implementations of line-by-line file reading may inadvertently introduce an extra newline (' ') in the string returned to the developer, which will mess up our testing. This is an error that can become "consistent" throughout the program (for example, if you mistakenly read the strings as {"Star Wars ", "Incredibles ", "Gone with the Wind "}, the rest of the program will likely run without error, only to fail the string comparison tests in grading. This is because the remaining functions will read and write the botched movie names and assume they are correct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
