Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help coding this Pseudocode into python start input testScore, classRank if testScore >= 90 then if classRank >= 25 then output Accept else

I need help coding this Pseudocode into python start input testScore, classRank if testScore >= 90 then if classRank >= 25 then output "Accept" else output "Reject" endif else if testScore >= 80 then if classRank >= 50 then output "Accept" else output "Reject" endif else if testScore >= 70 then if classRank >= 75 then output "Accept" else output "Reject" endif else output "Reject" endif endif endif stop

Instructions

  1. Study the pseudocode in picture above.
  2. Write the interactive input statements to retrieve:
    • A students test score (testScoreString)
    • A student's class rank (classRankString)
  3. Write the statements to convert the string representation of a students test score and class rank to the integer data type (testScore and classRank, respectively).
  4. The rest of the program is written for you.
  5. Execute the program by clicking the Run button at the bottom and entering 87 for the test score and 60 for the class rank.
  6. Run the program again by entering 60 for the test score and 87 for the class rank.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Issues In Database Management A Refernce For The Thinking Practitioner

Authors: Fabian Pascal

1st Edition

0201485559, 978-0201485554

More Books

Students also viewed these Databases questions

Question

L05 Describe the structure and functions of the cerebral cortex.

Answered: 1 week ago