Regarding program that calculates time through keypad
A mobile phone has 12 keys for input, (‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’, ‘0’, ‘*’ and ‘#’).

In standard text input mode each key can be used to input the letters of the alphabet and the space character. For example, to access the letter ‘b’ the user would press the ‘2’ key twice.

It takes a user a minimum of 100 ms to press a key. If a user has to use the same key to input consecutive characters there must be at least a 0.5 second pause for the phone to accept that the next key press represents a new character.

I want to write an console application which accepts any string that can be entered using the key assignments in the grid using C#. The application should accept input from a user and calculate the minimum time required for the user to input that string using the key pad and the sequence of keys that would be required.

If somebody know who can help me to write program.
Regarding program that calculates time through keypad
===

A mobile phone has 12 keys for input, (‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’, ‘0’, ‘*’ and ‘#’).

In standard text input mode each key can be used to input the letters of the alphabet and the space character. For example, to access the letter ‘b’ the user would press the ‘2’ key twice.

It takes a user a minimum of 100 ms to press a key. If a user has to use the same key to input consecutive characters there must be at least a 0.5 second pause for the phone to accept that the next key press represents a new character.

I want to write an console application which accepts any string that can be entered using the key assignments in the grid using C#. The application should accept input from a user and calculate the minimum time required for the user to input that string using the key pad and the sequence of keys that would be required.

If somebody know who can help me to write program.