after looking at the code i have spotted a few mistakes, first of all you cannot re-declare variables, like when you have
you are declaring these twice, if you want to use the same variable for each section only declare them once and then re-use them, or you could change the names so they relate to each section, such as
and so on
Secondly, you seem to have repeated yourself with declaring
im not sure how erroneous this is but it returned many errors on the dev-c++ compiler.
Im sure that the more experienced programmers aroundhere will be able to explain and spot errors a lot better than me, but that is all i could seem to find at the moment
thanks it is starting to make a little more sense to me now. I thought that I had to enter "return 0" after each program. Do you know and understand the concept of an UML, actors, and use cases. I have read and reread the section in my book, but still do not understand how to do an extra credit report where I am assuming that someone has a Superstore that sells perpheriphal, hardware, etc. What are the actors and major uses cases in this situation????
no problem, hmm UML and actors etc, ive never really heard of, i dont go into much concept detail since i am learning to program off my own back and cant be bothered going into that much detail about things at the minute, but i will have a look around and i will post again if i understand any of it
after a few minutes looking on the web for uml etc i have found this website: http://www.agilemodeling.com/artifacts/useCaseDiagram.htm It descibes teh terms and the situation quite well, from first glance it seems to me that this is all about the design stage of creating a program and how to document it properly