subject

Write a function called checkinputs which checks if three inputs parameters are the correct data types. the first, second, and third input variables must be a string, numeric, and logical data type, respectively. the output of checkinputs should be a logical row array, errorcode, with 4 values. if all the tests pass, then errorcode should consist of only false values. if the 1st input parameter is not a string, the 1st array element in errorcode is set true. if the 2nd input parameter is not a numeric, the 2nd array element in errorcode is set true. if the 3rd input parameter is not a logical variable, the 3rd array element in errorcode is set true. the 4th array element in errorcode is set true if three input parameters are not present.

ex:

> > name='joe'; gpa=3; enrollstatus=true; % all datatypes correct

errorcode = checkinputs(name, gpa, enrollstatus)

errorcode =

1×4 logical array

0 0 0 0

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:50
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
The keyboard usually has six rows of keys. which of the following is not one of the key group categories? letter keys number keys control keys graphic keys
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Me if you do then you get 10 points and brainliest
Answers: 1
You know the right answer?
Write a function called checkinputs which checks if three inputs parameters are the correct data typ...
Questions
question
Mathematics, 28.10.2020 14:00
question
Mathematics, 28.10.2020 14:00
question
Mathematics, 28.10.2020 14:10
question
English, 28.10.2020 14:10
Questions on the website: 13722359