Source Code for Two Dimmensional Array in i for iPhone sdk
<p>I want to create meachanical units convertor calculator in iphone sdk so i have to perform one to many type of operation. for example Length is category and there is multiple type of units in Length category for ex.meter,kilometer etc.Now for every unit i will have to create multiple combinations for that i'm using if-else conditions for now to work but practially this increases my code a lot because as there are almost 30 categories and each category has multiple units.So is there any another way to solve this problem in short way as it is too hectic to write so many if else combinations in my code. For this i thought that it might be possible to use two dimensional array.so please provide me code for two dimensional array to perform this calulation operation.</p>
