Menu

[Solved]1 Write Function Getraamcata Prompt User Enter Following Data Classroom Storing Response O Q37299935

MATLAB1. Write a function getraamcata that will prompt a user to enter the following data for a classroom, storing each response in

1. Write a function getraamcata that will prompt a user to enter the following data for a classroom, storing each response in one field of a structure array room, which will be returned as output argument when the function is called: room – getroomdata Field bldgcode A 2 or 3 character building code (e.g., SC) mumber A room number, which may contain letters (e.g., 130, 7A, etc.) area capacity he maximum capacity of the room in number of students (e.g., 35) smart type Description The internal room area in square feet (e.g., 850) A logical value (1 or 0) indicating built-in AV capability A number code indicating 1 lecture, 2 lab, 3-studio, 4- activity A string containing any optional comments about the room comment A string containing any optonal cmnbot the rom Test your function from the command line to be sure it works properly, and paste the successful code in the correct location on the answer sheet. Show transcribed image text 1. Write a function getraamcata that will prompt a user to enter the following data for a classroom, storing each response in one field of a structure array room, which will be returned as output argument when the function is called: room – getroomdata Field bldgcode A 2 or 3 character building code (e.g., SC) mumber A room number, which may contain letters (e.g., 130, 7A, etc.) area capacity he maximum capacity of the room in number of students (e.g., 35) smart type Description The internal room area in square feet (e.g., 850) A logical value (1 or 0) indicating built-in AV capability A number code indicating 1 lecture, 2 lab, 3-studio, 4- activity A string containing any optional comments about the room comment A string containing any optonal cmnbot the rom Test your function from the command line to be sure it works properly, and paste the successful code in the correct location on the answer sheet.

Expert Answer


Answer to 1. Write a function getraamcata that will prompt a user to enter the following data for a classroom, storing each respon… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *