Q. Write 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


Answer :-


Input marks of computer science
Input marks of mathematics
Input marks of physics

Calculate sum = CS + math + phy
Calculate percentage = ( sum / 300 ) * 100

Print sum
Print percentage

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post