Hey everyone, my code works but I need to know why I am adding ordercount within the getTota, just for a better understandingl.
why I am adding ordercount within the getTotal?
orderCount is a global variable that accumulates the total number of orders placed. Every time the
takeOrder function is called, it increases the global counter by 1.
Thanks a lot. Really helps
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.