Design a program for the hollywood movie


Design a program for the Hollywood Movie Rating Guide, in which users continuously enter a value from 0 to 4 that indicates the number of stars they are awarding to the Guide's featured movie of the week. The program executes continuously until a user enters a negative number to quit. If a user enters a star value that does not fall in the correct range, re-prompt the user continuously until a correct value is entered. At the end of the program, display the average star rating for the movie.
Modify the movie-rating program so that a user gets three tries to enter a valid rating. After three incorrect entries, the program issues an appropriate message and continues with a new user.
Modify the movie-rating program so that the user is prompted continuously for a movie title until ZZZZZ is entered. Then, for each movie, continuously accept star-rating values until a negative number is entered. Display the average rating for each movie.

a) The Downdog Yoga Studio offers five types of classes, as shown in the table below:

Class number Class Name

1 Yoga 1

2 Yoga 2

3 Children's Yoga

4 Prenatal Yoga

5 Senior Yoga

Design a program that accepts a number representing a class and then displays the name of the class.

b) Modify the Downdog Yoga Studio program so that numeric class request can be entered continuously until a sentinel value is entered. Then display each class number, name, and a count of the number of requests for each class.





a) The Timely Talent Temporary Help Agency maintains an employee master file that contains an employee ID number, last name, first name, address, and hourly rate for each temporary worker. The file has been sorted in employee ID number order. Each week, a transaction file is created with a job number, address, customer name, employee ID, and hours worked for every job filled by Timely Talent workers. The transaction file is also sorted in employee ID order. Design the logic for a program that matches the master and transaction file records, and output one line for each transaction, indicating job number, employee ID number, hours worked, hourly rate, and gross pay. Assume that each temporary worker works at most one job per week; output one line for each worker who has worked that week.

b) Modify the help agency program so that any temporary worker can work any number of separate jobs in a week. Print one line for each job that week.

c) Modify the help agency program so that it accumulates the worker's total pay for all jobs in a week and outputs one line per worker. 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Design a program for the hollywood movie
Reference No:- TGS085127

Expected delivery within 24 Hours