Computer Science, asked by Kaygadarifbaloch, 4 months ago

Compare and contrast the two calculating machines of 'Napier's Bones' and the 'Pascaline'. Do you think one was more advanced than the other? Why?

Answers

Answered by LiviMonkster
0

Answer:

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 realizes 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 digits 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 below

The password = Maximum of all stable numbers - Minimum of all stable

Explanation:

Similar questions