Computer Science, asked by devanarayanrs, 7 months ago

Draw a flowchart to input the title of a film, rate and display the message based

on the following conditions. Display the title also.

Rate Message

4.0 to 5.0 Super Hit

3.5 to 3.9 Hit

3.0 to 3.4 Average

Below 3.0 Flop​

Answers

Answered by Equestriadash
6

                       \sf  User\ inp uts\ the\ title\ of\ the\ film\ and\ the\ rating

                                                          \Bigg\downarrow

                       \swarrow\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \swarrow\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \searrow\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \searrow

   \sf 4.0\ -\ 5.0\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 3.5\ -\ 3.9\ \ \ \ \ \ \ \ \ \ \ \ \  3.0\ -\ 3.4\ \ \ \ \ \ \ \ \ \ \ \ \ <\ 3.0

          \Bigg\downarrow\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \Bigg\downarrow\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \  \ \Bigg\downarrow\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \Bigg\downarrow

\bf "Super\ Hit"\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ "Hit"\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ "Average"\ \ \ \ \ \ \ \ \ \ \ \ \ "Flop"

Python follows a similar if-else structure. Once the user inputs the required data, the if-else structure runs and checks which condition is most suited. Accordingly, it produces the required output.


Anonymous: Perfect!
Equestriadash: Thank you!
Similar questions