Draw a flowchart that will accept the physics score by 30 students calculate and print the average mark

sum = 0

for i=1..30
read score
sum += score
next i
avg = sum/30
print avg

I assume you can construct the flowchart for a loop

Sure! Here's a flowchart that accepts the physics scores of 30 students, calculates the average mark, and then prints the result:

1. Start
2. Initialize sum = 0, count = 0
3. Repeat the following steps for 30 students:
- Accept the physics score of the student
- Add the score to the sum
- Increase the count by 1
4. Calculate average = sum / count
5. Print "Average Mark: " + average
6. Stop

Please note that this flowchart assumes that you have a way to accept input and output the results. The flowchart focuses specifically on the calculation and printing of the average mark.

To create a flowchart that accepts the physics scores of 30 students and calculates the average mark, follow these steps:

Step 1: Start
- Begin the flowchart by placing the "Start" symbol at the top.

Step 2: Initialize variables
- Create a box and label it as "Initialize Variables."
- Inside this box, initialize the variable "sum" to zero and "count" to zero. These variables will be used to store the sum of the scores and the number of scores entered, respectively.

Step 3: Process scores
- Draw a diamond-shaped decision box labeled "Enter Score?" to check if the user wants to enter a score.
- If "No," proceed to step 4.
- If "Yes," move to the next step.

Step 4: Enter score
- Create a parallelogram-shaped input/output box labeled "Enter Score."
- Inside the box, prompt the user to input a physics score.

Step 5: Add score to sum
- Create a process box labeled "Add Score to Sum."
- Add the entered score to the "sum" variable.

Step 6: Increment count
- Create a process box labeled "Increment Count."
- Increment the "count" variable by one.

Step 7: Check count
- Draw a decision box labeled "Is Count = 30?"
- If "No," return to step 3 to process the next score.
- If "Yes," move to the next step.

Step 8: Calculate average
- Create a process box labeled "Calculate Average."
- Divide the "sum" variable by 30 (since there are 30 students) and store the result in a new variable called "average."

Step 9: Print average
- Create an input/output box labeled "Print Average."
- Inside the box, display the value of the "average" variable.

Step 10: End
- Place the "End" symbol at the bottom to indicate the end of the flowchart.

Step 11: Connect the symbols
- Connect the symbols using arrows to show the flow of control from one step to another.
- Use decision arrows for the diamond-shaped decision boxes.
- Use solid arrows for the process boxes.
- Use a dotted arrow to connect the "No" path in step 3 to step 4.

That's it! You have now created a flowchart that accepts physics scores from 30 students, calculates the average mark, and prints it.