How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask R.R. Jha Your Own Question

R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5471
Experience:  B.Tech
20870358
Type Your Homework Question Here...
R.R. Jha is online now
A new question is answered every 9 seconds

3. Write a command to count the number of students born in

This answer was rated:

3. Write a command to count the number of students born in 1985. Assume student.lst is the
file that contains the information.
4. Create a file called customers. Insert the following lines into the file:
John Doe XXXXXXXXXX NY
XXXXX XXXXX XXXXXXXXXX NJ
Mary Birnbaum XXXXXXXXXX MT
Bob Johnson XXXXXXXXXX MI
Tom Dorfman XXXXXXXXXX NY
Tom Heneghan XXXXXXXXXX
Mary Genetti XXXXXXXXXX MA
Nick Schutjer XXXXXXXXXX NY
Alex Shiro XXXXXXXXXX CA
Steve Karplus XXXXXXXXXX ME
Jenny Belisle XXXXXXXXXX NJCreate a script that will do the following:
a. Print how many customers are from NY.
b. Replace the state abbreviations in the file with the full state names. So, NY → New York
c. Add dashes (-) to the phone numbers, so they take the format XXX-XXX-XXXX
d. Find any customers for whom there is no state in their entry, and put N/A at the end of their
entry’s line. So, Bill Ayers XXX-XXX-XXXX → Bill Ayers XXX-XXX-XXXX N/A
Hi,

I'd be glad to help. Some parts of the question didn't appear correctly. Please upload your question document at wikisend.com or mediafire.com and post download link here.


Thanks
Customer: replied 3 years ago.

Thank you very much! I would appreciate the help.

Attachment: 2013-03-14_021556_assignment3.pdf

That's the full document

Received it. I'll have it ready by tomorrow.
Customer: replied 3 years ago.

Thanks!!

You're welcome!
Customer: replied 3 years ago.

Hi, I was wondering if you have started on the questions? thanks.

Yes, I've start working on it. I'll post both scripts soon.


Thanks
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
R.R. Jha and 3 other Homework Specialists are ready to help you
Hi,

Just checking if you could retrieve and review the answer. Let me know if you've any questions before you leave rating for the answer. I hope you found it to be excellent.


Thanks

Related Homework Questions