Ask Question

In this program, you will create an object and display it. Create a class nerf Gun that includes data members model (string), range (int), capacity (int), and number of darts (int). Your class should have a constructor with three parameters (assume the toy is fully loaded when created). Assume that model and range is correct, but check to make sure capacity is < = 144. Provide a member function getModel (), get Capacity (), getupDateCount (), fire () and reload (quantity). The method fire () reduces the number of darts. The method reload (quantity) should increase the number of darts by the quantity provided but must ensure the number of darts do not exceed the toy's capacity.

+4
Answers (1)
  1. 17 April, 05:22
    0
    Range: 100 feet (unlimited with aimbot)

    Capacity:50 rounds (unlimited with never ending clip modifier)

    Members/Creators: Joe, Yura, Moe, Mike, and Hugh

    Reload Time ...69 seconds
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “In this program, you will create an object and display it. Create a class nerf Gun that includes data members model (string), range (int), ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers