Westonci.ca is the Q&A platform that connects you with experts who provide accurate and detailed answers. Discover a wealth of knowledge from experts across different disciplines on our comprehensive Q&A platform. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

Write a pseudocode algorithm to ask the user to input the name of a student, the marks he/she received in a test and the worth of the test. Calculate the percentage mark the student received. Print the student's name and percentage the student received.​

Sagot :

Pseudocode algorithms are used as prototypes of an actual program.

The required pseudocode algorithm is as follows:

  • Start
  • input name, score, test_worth
  • percent_score = score/test_worth * 100
  • print name, percent_score
  • Stop

The first line begins the pseudocode algorithm

Start

The second line gets input for the student's name, score and the worth of the test

input name, score, test_worth

The third line calculates the percentage score

percent_score = score/test_worth * 100

The next line prints the student's name and the percentage score

print name, percent_score

The last line ends the pseudocode

Stop

Read more about pseudocode algorithms at:

https://brainly.com/question/21172316