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,

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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,

Post 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!
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply