Compare and contrast the two calculating machines of 'napier's bones' and the 'pascaline'. Do you think one was more advanced than the order?why?
Answers
Explanation:
Find Password:
Detective Buckshee Junior has been approached by the shantiniketan kids
society for help in finding the password to the games complex. After hearing the
scenario, detective Buckshee Junior realises that he will need a programmer's
support He contacts you and requests your help. Please help the detective by
writing a function to generate the password,
The scenario is as below
Five numbers are available with the kids
These numbers are either stable or unstable
A number is stable if each of its digit occur the same number of times, ie the
frequency of each digit in the number is the same. Foreg 2277 4004. 11. 23
583835, 1010 are examples of stable numbers
Similarly. A number is unstable if the frequency of each digit in the number is
NOT the same. For e.g. 221, 4314. 101, 233, 58135, 101 are examples of
unstable numbers
The password can be found as below
Te password = Maximum of all stable numbers - Minimum of all stable
Find Password:
Detective Buckshee Junior has been approached by the shantiniketan kids
society for help in finding the password to the games complex. After hearing the
scenario, detective Buckshee Junior realises that he will need a programmer's
support He contacts you and requests your help. Please help the detective by
writing a function to generate the password,
The scenario is as below
Five numbers are available with the kids
These numbers are either stable or unstable
A number is stable if each of its digit occur the same number of times, ie the
frequency of each digit in the number is the same. Foreg 2277 4004. 11. 23
583835, 1010 are examples of stable numbers
Similarly. A number is unstable if the frequency of each digit in the number is
NOT the same. For e.g. 221, 4314. 101, 233, 58135, 101 are examples of
unstable numbers
The password can be found as below
Te password = Maximum of all stable numbers - Minimum of all stable