I have to implement an algorithm for the following description:
You work for a large smartphone manufacturer. In some cases you have smartphones that wou