(Solved):Create the flowchart and pseudo-code for the following C++ code:

 

Question

Create the flowchart and pseudo-code for the following C++ code:

  1. using namespace std;
  2. int rollDice()
  3. {
  4.   int die1;
  5.   int die2;
  6.   int sum;
  7.   die1 = rand() % 6 + 1;
  8.   die2
Scroll to top