This program is done by using switch case /--
switch (choice) { case 1: <-- Conditions for Upper Triangular -->
break;
case 2: <-- Conditions for Lower Triangular --> break; case 3: <-- Conditions for Identity Matrix --> break; default: <-- Conditions for false choice input --> break;