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 LogicPro Your Own Question
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13172
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

The Eversoft Eraser Company has a list of its customers names

This answer was rated:

The Eversoft Eraser Company has a list of its customers’ names (not necessarily in alphabetical order) and telephone numbers in a file named customer with records of the following form:
last name, first name, phone number
a. Allow user to input a last name; then search the file and display all names and phone numbers corresponding to that last name.
b. Load the file into parallel arrays and display the list of customers’ names and phone numbers in alphabetical order.

Write a program using loops, conditionals, and file processing concepts. We are studying Sequential data files this week. Program should be written in pseudocode.
Hi,
Welcome back
Could you provide sample of pseudocode
Customer: replied 4 years ago.

I do not know where to start with this problem.

What is the deadline?
Customer: replied 4 years ago.

9/20/2013

please wait

Download answer from here: LINK

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help. Thank you for using JustAnswer!

Somehow link not working:
Here it is again:

http://wikisend.com/download/320458/The Eversoft Eraser Company.docx

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help. Thank you for using JustAnswer!
Customer: replied 4 years ago.

LogicPro,


 


Thank you for your quick response. I think you overlooked that the problem indicates an existing file name "customer" already contains the data of last name, first name, and phone number. This file needs to be opened and used for the program. There should be a line in the main module:


 


Open "customer" For Input As GivenFile


 


Please adjust your code to reflect importing the data from the file.


 


Thanks,


 


Todd

Hi Todd,
It is given in setup module. If you want, you can cut and paste in min module
LogicPro and other Homework Specialists are ready to help you
Hi again,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro
Customer: replied 4 years ago.

ProLogic,


 


I received feedback from the professor and apparently I was to only do part a of the problem. Here is his feedback:


 


Todd - you got a little ahead of me here. I only want you to do part "a"

The user will enter a single name and you then search the file for a matching name and output the results. You'll use a flag to indicate whether or not the name was found

Remember when declaring arrays you need to use a number not a variable


I would fix this myself, but I am not sure where to place the flag.

I will check it and let you know ASAP.
Customer: replied 4 years ago.

LogicPro,


 


Have you had a chance to modify the program?


 


Thanks,


 


Todd

THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Customer: replied 4 years ago.

LogicPro,


 


see my professor's critique below:


 


Todd - see critiques below.

-We don't use a Boolean data type in our pseudocode
-You need to ask te user for a name then search through the file
-You don't need arrays. The read should look like this:
While NOT EOF(DataFile)
Read DataFile, LastName, FirstName, Phone
// Found a match - display results
If LastName == Customer Then
Write FirstName + “ ” + LastName + “ ” + Phone
Set Found = 1
End If
End While

ok, I will modify and reply ASAP.
Download:
http://wikisend.com/download/269006/The Eversoft Eraser Company_partA.docx