Write an algorithm,flow chart, psuedo codes and finally a c++ codes that will accept exams scores for 5 users.

you are required to develop an algorithm to compute total scores of 30 students. use pseudo code to develop the algorithms

Sure! Let's break it down into each step.

1. Algorithm:
1. Start
2. Initialize an array to store the exam scores for 5 users.
3. Iterate over each user and accept their exam scores.
4. Display the exam scores for all users.
5. End

2. Flowchart:
Here is a simple flowchart representing the algorithm:

![Flowchart](https://i.imgur.com/2jRrwk7.png)

3. Pseudocode:
Here is the pseudocode based on the algorithm:

```plaintext
Start
Initialize an array userScores with a size of 5

for i = 1 to 5 do
Display "Enter exam score for user", i
Input score
userScores[i] = score

Display "Exam scores:"
for i = 1 to 5 do
Display "User", i, "score:", userScores[i]

End
```

4. C++ code:
Here is the C++ code based on the algorithm:

```cpp
#include <iostream>

int main() {
int userScores[5];

for (int i = 0; i < 5; i++) {
std::cout << "Enter exam score for user " << i + 1 << ": ";
std::cin >> userScores[i];
}

std::cout << "Exam scores:" << std::endl;
for (int i = 0; i < 5; i++) {
std::cout << "User " << i + 1 << " score: " << userScores[i] << std::endl;
}

return 0;
}
```

You can use the given pseudocode or C++ code to accept exam scores for 5 users. Feel free to modify it according to your requirements.