Programming Tutorials

Comment on Tutorial - do...while Loops in C++ By Abinaya



Comment Added by : LULU

Comment Added at : 2012-11-23 01:34:07

Comment on Tutorial : do...while Loops in C++ By Abinaya
Please, I need help, how can i write a program "while"
for this out put:


*****************
Telephone Digits
*****************
Program to convert uppercase letters to their corresponding telephone digits.
To stop the program enter #.
Enter a letter: S

The letter you entered is S
The corresponding telephone digit is :7

Enter another uppercase letter to find its corresponding telephone digit. To stop the program enter #.
Enter a letter: @

Invalid input

Enter another uppercase letter to find its corresponding telephone digit. To stop the program enter #.
Enter a letter: A

The letter you entered is A
The corresponding telephone digit is :2


Enter another uppercase letter to find its corresponding telephone digit. To stop the program enter #.
Enter a letter: #

Thank you .


View Tutorial