A university has 3000 students.These students are divided in four categories

1.B Tech
2.M Tech
3.Ms
4.Phd
Draw a flowchart & algorithm to find percentage of the students in each category

sum=0

for i = 1..4 {sum += cat[i]}
for i = 1..4 {pct[i] = cat[i]/sum * 100}

To draw a flowchart and create an algorithm to find the percentage of students in each category, we can break down the problem into smaller steps. Here's an explanation of the approach:

1. First, we need to gather the number of students in each category. Let's assume that the counts are as follows:
- B Tech: 1000 students
- M Tech: 800 students
- Ms: 500 students
- Phd: 700 students

2. Calculate the total number of students by summing up the counts from each category:
- Total students = B Tech + M Tech + Ms + Phd = 1000 + 800 + 500 + 700 = 3000

3. To find the percentage of students in each category, we can use the formula:
- Percentage = (Number of students in a category / Total students) * 100

Now, let's create a flowchart and algorithm to implement this:

Algorithm:
1. Read the number of students in each category.
2. Calculate the total number of students.
3. Calculate the percentage of students in the B Tech category:
- B Tech Percentage = (B Tech count / Total students) * 100
4. Calculate the percentage of students in the M Tech category:
- M Tech Percentage = (M Tech count / Total students) * 100
5. Calculate the percentage of students in the Ms category:
- Ms Percentage = (Ms count / Total students) * 100
6. Calculate the percentage of students in the Phd category:
- Phd Percentage = (Phd count / Total students) * 100
7. Print the percentage of students in each category.

Flowchart:
```
+------------+
| Start |
+------------+
|
v
Read counts
+------------+
|
v
Total students = Sum of counts
+------------+
|
v
B Tech Percentage = (B Tech count / Total students) * 100
+------------+
|
v
M Tech Percentage = (M Tech count / Total students) * 100
+------------+
|
v
Ms Percentage = (Ms count / Total students) * 100
+------------+
|
v
Phd Percentage = (Phd count / Total students) * 100
+------------+
|
v
Print percentages
+------------+
|
v
End
```

Note: While this flowchart and algorithm illustrate the logic and steps involved, it is important to modify and adapt them as needed to meet specific programming language or system requirements.