
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562a. Design a program for the Hollywood Movie Rating Guide, which can be installed in a kiosk in theaters. Each theater patron enters a value from 0 to 4 indicating the number of stars that the patron awards to the Guide’s featured movie of the week. 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. The program executes continuously until the theater manager enters a negative number to quit. At the end of the program, display the average star rating for the movie.
b. 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
الخطوة 1 من8
Hollywood Movie Rating Guide
a. Flowchart:
Flowchart for the rating of a movie is as follows:
الخطوة 2 من 8
الخطوة 3 من 8
الخطوة 4 من 8
الخطوة 5 من 8
الخطوة 6 من 8
الخطوة 7 من 8
الخطوة 8 من 8
لماذا لم يعجبك هذا التمرين؟
أخرى