Respuesta :
Answer:
function weekendBoxOffice = GetWeekendEarnings(movieBoxOffice)
weekendBoxOffice = movieBoxOffice([1, 6,7]);
end
Explanation:
- Create a function called GetWeekendEarnings() .
- Create an array weekendBoxOffice that stores the sunday,friday, saturday sales .
Statements are elements of a programming language that indicate actions to be executed.
The required statement is: weekendBoxOffice = movieBoxOffice([1 67]);
From the question, we have the following highlights:
- Array name: movieBoxOffice
- Elements of Sundays, Fridays and Saturdays are represented by array indices 1, 6 and 7.
- The variable that holds the required values is: weekendBoxOffice
So, the required statement is: weekendBoxOffice = movieBoxOffice([1 67]);
Read more about programming statements at:
https://brainly.com/question/22159805