I need to create a flowchart/psuedocode for a dice game that give you 2 rolls with 5 dice, 3 rolls per game. the computer will roll the 4 dice and calculate your score. my question is...do i need to repeat this 3 times and can i use nested loops and if so..how do i set this up? so confused

To create a flowchart or pseudocode for this dice game, you can use a combination of loops and conditional statements. In this case, you can utilize a nested loop to simulate the 3 rounds of the game, with each round having 2 rolls and 5 dice.

Here is an example of how you can set up the pseudocode for this game:

1. Initialize variables:
- total_score = 0

2. Outer loop for each round:
- For round = 1 to 3:
- Set round_score = 0
- Display "Round " + round

3. Inner loop for each roll within the round:
- For roll = 1 to 2:
- Set roll_score = 0
- Display "Roll " + roll

4. Roll the dice:
- For dice = 1 to 5:
- Set dice_value = random value between 1 to 6
- Add dice_value to roll_score

5. Calculate round score:
- Display "Round " + round + " Score: " + roll_score
- Update round_score += roll_score

6. Add round score to the total score:
- Update total_score += round_score

7. End loops

8. Display final score:
- Display "Total Score: " + total_score

In this pseudocode, the outer loop represents the 3 rounds of the game, while the inner loop represents the 2 rolls within each round. The dice are rolled within the inner loop, and the scores for each roll and round are calculated accordingly. The total score is updated after each round. Finally, the final score is displayed at the end of the game.

Remember, pseudocode is a way to represent your algorithm in plain language, so feel free to modify or adapt this example to fit your specific requirements.