(Question.1 - 5) Instructions: A word and number arrangement machine when given an input line of words and numbers rearrange them following a particular rule in each step. The following is an illustration of input and rearrangement.
1.when a comparison is made by using a comparative followed by ‘than’, the word ‘other’ must be exclude the thing compared form the class of things with which it is compared.