Decision Structures & loops problem

Have a question to answer in a chapter but im not even sure where to start with this one lol, im not looking for the answer just a idea where to start i guess.
This is the question:
"Write a program that simulates the firing of a Glock 19 (19mm) semi automatic pistol.Given that a standard ammo clip for this weapon contains 15 rounds, your program should simulate the rapid expenditure of 5 ammo clips.your solution should track every bullet fired,and the number of reloads reuquired.Output this information in the form of s simple iterative list."

this chapters covering basic IF,SWITCH,FOR,DO,WHILE,any sort of help would be great, in the meantime ill keep looking into it.
Start Here: http://en.wikipedia.org/wiki/Classical_mechanics

These are good too:
http://exploration.grc.nasa.gov/education/rocket/flteqs.html
http://exploration.grc.nasa.gov/education/rocket/ballflght.html

Dimentions for ballistic projectile can be found here: http://en.wikipedia.org/wiki/9x19mm_Parabellum

We'll ignore chaos theory as it pertains to bullet grouping. How did you want the format output?

May I suggest this?

Shot Number:
Initial Degree of Incidence:
Flight Time:
Impedence of Flight Path:
End Position Relative To Start Position:

This should be simple enough. Any questions?
hey thanks for the reply, that all look awesome actually may be usfull later on in the course, but its a bit more adavnced than the level im at at present, im currently only working with a console output screen with beginner level programs, its probally simple but im thinking its more complicated than it is and not sure where to start lol
Topic archived. No new replies allowed.