baseball program, batting and pitching

I'm new to c++ and I have to create a program that: prompts the user for the scenario (pitched ball, batted ball),
and then prompts the user for the information relevant to that scenario. The output
should be printed to the screen in the form of a table with the value of time(sec),
x(feet), y(feet), vx(mph), vy(ft/s). For the pitched ball, the distance traveled can not
exceed the distance from the mound to home plate. For the batted ball, assume the ball
has to clear the Green Monster for a home run.
please aid me in any thing related to this the while loops, if statements variables etc
Last edited on
Topic archived. No new replies allowed.