KnowledgeBoat Logo

Computer Science

Write a pseudocode that will perform the following:

(a) Read the marks of three subjects: Computer Science, Mathematics and Physics out of 100.

(b) Calculate the aggregate marks.

(c) Calculate the percentage of marks.

Algo & Flowcharts

1 Like

Answer

Step 1: Input the marks in Computer_Science
Step 2: Input the marks in Mathematics
Step 3: Input the marks in Physics
Step 4: Set total_marks by adding marks in Computer_Science, Mathematics and Physics
Step 6: Set percentage by dividing total_marks by 300 and then multiply it by 100
Step 7: Display total_marks and percentage

Answered By

1 Like


Related Questions