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



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. sir how can i access url in one click
View Tutorial          By: mohit at 2010-05-28 23:10:23

2. thanks
View Tutorial          By: snooker at 2013-02-04 19:45:40

3. nice code. code is running perfectly. but my probl
View Tutorial          By: Avinash at 2013-01-28 07:30:19

4. Excelente!!
Justo lo que necesitaba.

View Tutorial          By: Cesar at 2010-01-07 17:40:52

5. i have download the all 5 codes.but how can i run
View Tutorial          By: Chathu at 2011-01-30 02:28:53

6. Precise information in the article, however it wou
View Tutorial          By: Ketan at 2009-06-23 05:07:39

7. I am able to iterate the list.Now i want to print
View Tutorial          By: akanksha at 2012-09-26 05:25:12

8. notify does NOT wake up the first thread waiting.
View Tutorial          By: Armin at 2009-07-26 07:25:09

9. very simple example.....................
View Tutorial          By: kajal at 2015-08-22 09:28:16

10. hello, please i need a help.. i'm trying to make a
View Tutorial          By: Ludmila at 2012-12-10 17:56:00