Page 1 of 1

I am working on a C++ code. What I am trying to do is create a program that asks the user to select a difficulty (hard,

Posted: Sun May 15, 2022 9:58 am
by answerhappygod
I am working on a C++ code. What I am trying to do is create a
program that asks the user to select a difficulty (hard,
intermediate, easy), then the program will randomly generate a
weight for a cannon ball and a distance of a target. The user then
has to guess the angle and speed at which to launch the cannon ball
to hit the target. Hard is +- 10 meters from the randomly generated
target, intermediate is +-20 and easy is +-30. The program needs to
use a class with resulting objects, a structure, at least four
pointers, a linked list (or two STL), and use either the STL or
recursion. Thanks!