Write an algorithm to calculate the percentage of a student.

pct = score/max_possible * 100

Algorithm for result of student of this program

To calculate the percentage of a student, you need to know two values: the total marks obtained by the student and the maximum possible marks for that exam. You can use the following algorithm:

1. Read the total marks obtained by the student.
2. Read the maximum possible marks for the exam.
3. Calculate the percentage using the formula: (total marks obtained / maximum possible marks) * 100.
4. Display the calculated percentage.

Here is an example implementation of the algorithm in Python:

```
# Step 1: Read the total marks obtained by the student
total_marks_obtained = int(input("Enter total marks obtained: "))

# Step 2: Read the maximum possible marks for the exam
maximum_possible_marks = int(input("Enter maximum possible marks: "))

# Step 3: Calculate the percentage
percentage = (total_marks_obtained / maximum_possible_marks) * 100

# Step 4: Display the calculated percentage
print("Percentage: ", percentage)
```

You can run this code and input the required values to get the percentage of the student.