Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Improve the program\'s functionality by utilizing at least 5 of the concepts fro

ID: 3534232 • Letter: I

Question

Improve the program's functionality by utilizing at least 5 of the concepts from the list below.

Document how the game works, including how you utilized each of the chosen concepts and what it's role is in the overall program.

List of Concepts

1. Vectors with iterators

2. Do or while loops

3. Operator overloading

4. Pointers/references

5. The heap(objects with 'new')

6. Destructor overloading

7. Constructor overloading

8. Copy constructor overloading

9. STL algorithms (sort, shuffle, etc..)

10. Private/protected data members/functions

11. Block scope

12. Function overloading

13. Multidimensional arrays

14. Functions, parameters, return value

//Die Roller

#include <iostream>

#include <cstdlib>

#include <ctime>

usng namespace std;

int main()

{

   srand(static_cast<unsigned int>(time(0)));

   int randomNumber = rand();

   int die = (randomNumber % 6) + 1;

   cout << "You rolled a " << die << endl;

   return 0;

}

Explanation / Answer

I TRY THIS CODE AND IT WORKS SO PLEASE TRY THIS