1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
// Please use "display" function to display all data.
// display function should display both array element (=range) and list (=elements).
// d.display();
//
// Please refer figure in project description for example below
// index 0: [0 - 9] 9, 1, 8----int index_a[10]=(0,1,2,3,4,5,6,7,8,9)
// index 1: [10 - 19] 10, 15, 19----- int index_b[10]=(10,11,12,13,14,15,16,17,18,19)
// index 2: [91 - 100] 95, 95-------- int index_c[10]= (91,92,93,94,95,96,97,98,99,100)
// index 3: [21 - 23] 21, 23, 21------ int index_d[3]= (21,22,23)
// Please use "add_range" function to add a new range
// fuction arguments are depending on your code
// d.add_range();
// please use "add_element" function to add an element in the list
// example function areguments are as follows
// add_element( int StartRange, int EndRange, int Element)
// => Element should be added in the list referenced by range (StartRange and EndRange)
// OR
// add_element( int ArrayIndex, int Element )
// => Element should be added in the list referenced by ArrayIndex
| |