Answer:
Explanation:
The following code is written in Java. It is hard to fully create the code without the rest of the needed code including the T class and the Measurable interface. Regardless the following code can be implemented if you have that code available.
public static T minmax(ArrayList<T> mylist) {
T min = new T();
T max = new T();
for (int x = 0; x < mylist.size(); x++) {
if (mylist.get(x) > max) {
max = mylist.get(x);
} else if (mylist.get(x) < min) {
min = mylist.get(x);
}
}
return (min, max);
}
Answer:
List=[['Computers','IT','Programming'],['Maths', 'Algebra', 'Geometry']]
i=0
k=0
for i in range(0,2):
print("Category:"+List[i][0])
for k in range(1,3):
print("\t"+List[i][k])
Explanation:
The required program is as above. We have used here a multidimensional list. The 0 of each row has the category,and rest are sub categories. The program above has limitations but is good enough to explain the fundamentals required.
Bdbxhdhdhdbxbdhdhxhxhdhdhdhdhdhdhdhdhdbdhdhdhdhdhdhrhrhrhrhrhdhdhdhdisisieiejjdidieieieieieiei
Step by step explanation:
Statement to be written in cell B10 :
IF ( B9 >= 350000
, 35000, 1000)
Formula:
IF ( logical_test , [value_if_true] , [value_if_false] )
logical_test = Net Profit After Tax (cell B9)
value_if_true = 35000
(if the Net Profit After Tax (cell B9) is greater than or equal to 350000)
value_if_false = 1000
(if the Net Profit After Tax (cell B9) is lesser than 350000)