1.

The program to check the highest of n numbers can be done by ________(a) Sorting(b) If-else structure(c) Switch-case structure(d) Depends on the nature of nI got this question in exam.Asked question is from Branching topic in chapter MATLAB Programming of MATLAB

Answer»

The CORRECT OPTION is (a) Sorting

For EXPLANATION: The sorting procedure is the easiest way to GET the highest of n numbers. This is because the code complexity will increase, drastically, if we use an if-else STRUCTURE or a switch-case structure.



Discussion

No Comment Found

Related InterviewSolutions