I have a code that I am doing for my class and I don't know were I am messing up at. I have the following code. Just so you know I am very new to programming so please take it easy on me. Just kidding, I am new to programming and could use help to see were I went wrong.
The idea of the code is object oriented programming and I have to create a plasma pistol that will show the destructive power of the gun, the number of bolts in the gun, the number of bolts that the gun is shooting. Then its suppose to say how many shots the gun has shot then finally subtract how many shots are left after firing it a couple of times.