I want to produce a report of mymovie collection. Which fields would I use, and which would be the data types of each of those fields?
I also want to create a flowchart and pseudo-code for generating a report that prints all of the movies, with all movies made by the same director on one page, as well as the number of movies by each director.
Please check for me if the pseudo-code bellow is correct
Moviecollection()
Movietype= “â€
If Director = Tom Jackson then
Movietype = “Actionâ€
Else
If Director = Bill Adams
Movietype= “Comedyâ€
Else
If Movietype = Action then
Director = “Tom Jacksonâ€
Else
If Movietype= Comedy Then
Director = “Bill Adamsâ€
Else
Movietype = “Dramaâ€
Endif
EndIf
EnfIf
EndIf
Return
I also want to create a flowchart and pseudo-code for generating a report that prints all of the movies, with all movies made by the same director on one page, as well as the number of movies by each director.
Please check for me if the pseudo-code bellow is correct
Moviecollection()
Movietype= “â€
If Director = Tom Jackson then
Movietype = “Actionâ€
Else
If Director = Bill Adams
Movietype= “Comedyâ€
Else
If Movietype = Action then
Director = “Tom Jacksonâ€
Else
If Movietype= Comedy Then
Director = “Bill Adamsâ€
Else
Movietype = “Dramaâ€
Endif
EndIf
EnfIf
EndIf
Return