INSTRUCTIONS: All problems should be written using JustBASIC. The code should be typed into the JustBASIC editor and executed. At the end of each solution, you should state whether the code executed and whether it produced correct results. Failure to follow directions will result in a zero for the assignment. 1. 2. 3. Write the beginning of the program that will create five arrays of the type and name listed below. Get the number of movies to be entered into the database from the user. Be sure to initialize the arrays. STRING actorLastName STRING actorFirstName STRING nameOfMovie NUM year OfDebut NUM grossearnings Add to the previously written code the part that will allow the user to populate the arrays. Using the previously written code, add pseudocode that will search for the actor's last name. You will ask the user for the last name to be searched for. You can assume all last names are unique (no repeats). If the name is present, your program will return the string "Target found" to the user. If the name is not found, the program will return the string "This actor is not in the database" only once just before the program terminates. STRING actorLastName STRING actorFirstName STRING nameOfMovie NUM year OfDebut NUM grossearnings

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question
INSTRUCTIONS: All problems should be written using JustBASIC. The code should be typed into the JustBASIC editor and executed.
At the end of each solution, you should state whether the code executed and whether it produced correct results.
Failure to follow directions will result in a zero for the assignment.
1.
2.
3.
Write the beginning of the program that will create five arrays of the type and name listed below. Get the number of
movies to be entered into the database from the user. Be sure to initialize the arrays.
STRING actorLastName
STRING actorFirstName
STRING nameOf Movie
NUM year OfDebut
NUM grossearnings
Add to the previously written code the part that will allow the user to populate the arrays.
Using the previously written code, add pseudocode that will search for the actor's last name. You will ask the user for the
last name to be searched for. You can assume all last names are unique (no repeats). If the name is present, your program
will return the string "Target found" to the user. If the name is not found, the program will return the string "This actor is
not in the database" only once just before the program terminates.
STRING actorLastName
STRING actorFirstName
STRING nameOfMovie
NUM year Of Debut
NUM grossearnings
Transcribed Image Text:INSTRUCTIONS: All problems should be written using JustBASIC. The code should be typed into the JustBASIC editor and executed. At the end of each solution, you should state whether the code executed and whether it produced correct results. Failure to follow directions will result in a zero for the assignment. 1. 2. 3. Write the beginning of the program that will create five arrays of the type and name listed below. Get the number of movies to be entered into the database from the user. Be sure to initialize the arrays. STRING actorLastName STRING actorFirstName STRING nameOf Movie NUM year OfDebut NUM grossearnings Add to the previously written code the part that will allow the user to populate the arrays. Using the previously written code, add pseudocode that will search for the actor's last name. You will ask the user for the last name to be searched for. You can assume all last names are unique (no repeats). If the name is present, your program will return the string "Target found" to the user. If the name is not found, the program will return the string "This actor is not in the database" only once just before the program terminates. STRING actorLastName STRING actorFirstName STRING nameOfMovie NUM year Of Debut NUM grossearnings
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Types of trees
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT