Login|Contact Us
Question and Answer

Programming

Ask a Programming Question, Get an Answer ASAP!

  • Ask A Question
  • Browse Answers
  • Meet The Experts
  • How JustAnswer Works

Your program takes a phone number with alphabet as an input,

 
LogicPro's Avatar
  • Answered by:LogicPro
  • Computer Software Engineer
  • Positive Feedback: 99.4 %
  • Accepted Answers: 5551
Verified Expert
in Programming

Recent Feedback

Positive
fast response.
Positive
fast response
Positive
great
Positive
Thank you
Positive
Thank you
Positive
He responded quickly to my question with a solid answer.
Positive
Perfect as usual
Positive
thank you
Positive
thank you
Positive
Outstanding help!

Customer Question

Your program takes a phone number with alphabet as an input, converts it into numeric digits, and outputs the result to the standard output.
The phone number is XXXXX of number, alphabet (lowercase and uppercase), and dash(-).
Your program outputs numbers only, ignoring all dashes in user's input.
You can safely assume that there are at most 40 characters in user's input.
You can assume that there's no space in the phone numbers.
Have to use switch/case (cctype.h)

sample run
Enter a phone number: 1-beg-LoT
The numeric digits are(NNN) NNN-NNNN

 

Optional Information:
Language (or Software): C++

Submitted: 352 days and 9 hours ago.
Category: Programming
Value: $55
Status: CLOSED

Accepted Answer

Picture
Expert:  LogicPro replied352 days and 9 hours ago.


LogicPro :

Hi,

LogicPro :

Welcome to JustAnswer.

LogicPro :

My name is XXXXXXXX XXX I will help you.

Customer :

hi

LogicPro :

If you have any file(s). Zip, upload the file to http://wikisend.com and post download link here.

Customer :

i have none

LogicPro :

When do you need this answer:

Customer :

this is what i need it for

Customer :

http://www.personal.psu.edu/yuy121/201/hw03.html

Customer :

in the next 8hrs or so

LogicPro :

I will provide you answer with in next 30 minutes.

Customer :

the whole code ?

Customer :

just like the sample run ?

LogicPro :

yes

Customer :

that would be great

Customer :

at most 40 character taking in consideration upper and lower case with numbers and dashes

LogicPro :

okay

Customer :

i mean u have the link to the assignment

Customer :

so how does this work ? i wait for 30 min ?

LogicPro :

yes, I have

LogicPro :

which compiler are you using?

LogicPro :

Dev C++, Code blocks or Visual Studio C++?

Customer :

im new to this stuff...we use visual studio 2010

Customer :

microsoft

LogicPro :

okay

LogicPro :

Please check back in 30 minutes.

Customer :

ill be here waiting

LogicPro :

okay

LogicPro :

Can I use the strings in this?

Customer :

yes

LogicPro :

thank you

Customer :

yep np

LogicPro :

:)

LogicPro :

Download answer from here PhoneNumber_CPP.cpp

LogicPro :

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant and fresh answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/computer/expert-logicpro/
so you can come back and ask me a question anytime.
Rate this answer as 'Excellent Service' or ask me if you need more information.

Customer :

works great

Customer :

thank you

Customer :

where can i rate u ?

LogicPro :

You will see an option to rate the answer.

Expert TypeComputer Software Engineer
Category: Programming
Pos. Feedback: 99.4 %
Accepts: 5551
Answered: 7/2/2012

Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

Ask this Expert a Question >
 
Tweet

4 Programmers are Online Right Now

Ask Your Question Now
Programming Questions Date Submitted
Submit pseudocode and a flowchart for the following programming 6/10/2013
I would like to give a directory and then report on the extensions 6/9/2013
Can you help me with a programming assignment? 6/9/2013
I'm looking for someone to tutor me, for programming, and softwar 6/3/2013
hi there'i have four questions about java its all about 5/29/2013
For The Doctor ONLY - Please fix the Doe Valley town Meeting 5/18/2013
Scenario: 5/17/2013
I need help with my website, I put in the Infolink ad code 5/17/2013
I need to make the submit button bigger 5/15/2013
Need a java programming to fulfill the following requirements: 1. 5/13/2013
RSS
Next 10 >
Ask A Programmer
Type Your Programming Question Here...
characters left:

Top Programming Experts

See More Programmers

In The News

Nbc
Washington Post
New York Times
Cnn
Learn More

How It Works

  • Ask an Expert
  • Get a Professional Answer
  • Ask Followup Questions
  • 100% Satisfaction Guarantee
Learn More

Ask a Programmer

Get a Professional Answer. 100% Satisfaction Guaranteed.
193 Programmers are Online Now
Type Your Programming Question Here...
characters left:
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Truste
Contact Us | Terms of Service | Privacy & Security | About Us | Our Network
© 2003-2013 JustAnswer LLC
  • Pearl.com
  • JustAnswer UK
  • JustAnswer Germany
  • JustAnswer Spanish
  • JustAnswer Japan