QusUpper triangular matrix के elements print करने के लिए flowchart में कौन-सी condition check की जाती है?
A. i > j
B. i < j
C. i ≤ j
D. i = j
Solution
C. i ≤ jExplanation
An upper triangular matrix contains the diagonal and elements above it, where column index j is greater than or equal to row index i.Upper triangular matrix में diagonal तथा उसके ऊपर के elements होते हैं, इसलिए condition i ≤ j होती है।