this is part of a shopping program which i have written i wanted to calculate the total cost in view cart part so i couldnt figure out how to add the total cost ,there can be any number of items which could be added in add to cart menu btw itemDetailsObject[50] the code which i have blocked is one way but if there are 50 items to be added that method wont be ideal
hehehe i am studying C++ so that it would help me in learning objective C so i am working on big C++ large programs :) , its in general forum as well cause sometimes ppl miss in beginner section so to be safe i put it over there