Question: Create a flowchart describing a mathematical computer or calculator function called with the following syntax: y=iseven(x) where x is a matrix of integers of any
Create a flowchart describing a mathematical computer or calculator function called with the following syntax: y=iseven(x) where x is a matrix of integers of any dimension, and y is a matrix of logical values (1s or 0 s) of the same dimension. The function steps through every element in x, checking if it is an even integer. If an element is determined to be even, the corresponding element in y is set to 1 , if an element in x is determined to be odd, the corresponding element in y is set to 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
