Introduction - If you have any usage issues, please Google them yourself
The preparation of a program, the students were asked to enter a score, and stored in 50 words ERADE array, then ERADE the results, the students fill in 50 words RANK rank array, and then learn from the terminal number order to rank on the display.
Tip:
① program MAIN
Function: the input of student achievement, student rankings calculated and displayed.
② INPUT subroutine
Function: Receive a class student achievement, the results separated by spaces.
③ subroutine RANKP
Function: compute a student s class rank.
④ subroutine OUTPUT
Function: output (display) a class of students ranking
⑤ subroutine DECIBIN
Function: binary decimal conversion, into the BX
⑥ subroutine BINDEC
Function: a binary decimal conversion, and displayed on the screen.
⑦ subroutine DEC_DIV
Function: BX CX divided by the contents of the content, and displayed on the screen a business.