Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

Homework

For ALTPROI need two applications written in JAVA. They need

Customer Question
For ALTPRO I need two applications...
For ALTPRO
I need two applications written in JAVA. They need to be simple and easy to understand for a begining programmer.

Application 1:

I need an application written in JAVA that reads from a text file called: listings.txt, analyzes the property listed per agent, and outputs a report to an text file called: agentreport.txt file. The application should do the following:

1. Prompt the user for the name of the input file (listings.txt).

2. Open listings.txt file and read in property listings.

3. Store each property type into a Set.

a. Convert property type to upper case before adding to the Set using method(s) from String class.

b. Sort the Set of property types alphabetically.

4. Use a Map to calculate total property listed in dollars and cents for each agent id.

Note: Agent id would be the key, and accumulated total of property listed would be the value.

• Sort your Map by agent id.

• Create an agentreport.txt file.

5. Use an Iterator to iterate through the Set and write a sorted set of property types sold by the agents to the agentreport.txt file.

6. Iterate through your Map to write your sorted pair of agent id and total property listed to the agentreport.txt file.



Application 2:

I need an application written in JAVA that reads the text file: listings.txt, analyzes the properties listed, and outputs an overview of properties listed to an overview.txt file. Your application should do the following:

1. Prompt the user for the name of the input file (listings.txt).

2. Open the listings.txt file and read in property listing information using a buffered FileReader.

3. Count the total number of property listings for sale.

• Use buffered FileWriter to write the count of the number of property listings to your overview.txt file.

4. Calculate the total value of property for sale.

• Use a buffered FileWriter to write the total value of properties currently for sale.

5. Store each property id into an ArrayList.

a. Sort the ArrayList of property ids using natural ordering.

b. Use a for-each loop to iterate through the sorted ArrayList and write property ids to overview.txt file using buffered FileWriter.

6. Use buffered FileWriter to write the total value of the properties listed and the total number of properties currently for sale.

Note: All code needs to be commented well using single line and/or multi line comments, and explainging program flow and logic in terms easily understandable by a begginer programmer.
Submitted: 4 years ago.Category: Homework
Show More
Show Less
Ask Your Own Homework Question
Answered in 1 minute by:
5/14/2013
Tutor: ATLProg, Software Engineer replied 4 years ago
ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9,151
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
Hi, Welcome to JustAnswer, It will be my pleasure to help you. Can you please let me know how soon you need this done.
Ask Your Own Homework Question
Customer reply replied 4 years ago
No later than Friday hopefully
Tutor: ATLProg, Software Engineer replied 4 years ago
Ok i will have these programs ready by then. Please note that since these are 2 programs and looking at effort the question should be priced around $55. Please confirm if that sounds ok
Ask Your Own Homework Question
Customer reply replied 4 years ago
that sounds fine
Tutor: ATLProg, Software Engineer replied 4 years ago
Ok i will have these ready Curtis soon
Ask Your Own Homework Question
Tutor: ATLProg, Software Engineer replied 4 years ago
Please download solution from

http://wikisend.com/download/533244/Solution.zip
I hope i was able to assist you. If you are happy with my service please rate my service . If your are not 100% satisfied, please reply to me so that i can help you better. Please start your question with "For ATLProg only" to request me again
Ask Your Own Homework Question
Customer reply replied 4 years ago
how did you know EXACTLY what would be in the txt files? and how do you know my name? have you done this same exact thing before? Curious...
you are not setting me up are you?
Tutor: ATLProg, Software Engineer replied 4 years ago

I had done it in the past so knew exactly what was needed. I did modify few things in code. I will request you to modify this to give your personal touch too

Ask Your Own Homework Question
Customer reply replied 4 years ago
No problem, sorry i was just a lil nervous/ concerned. I will review the program tonight. Thanks
Tutor: ATLProg, Software Engineer replied 4 years ago
ok
Ask Your Own Homework Question
Tutor: ATLProg, Software Engineer replied 4 years ago
Ok please remember to rate when you have reviewed it
Ask Your Own Homework Question
Customer reply replied 4 years ago
how do i get these programs to run. I can open them in Netbeans, but i cannot run them. Is there something i am not doing right?
Customer reply replied 4 years ago
the error i get is: task.pkg2.Task2 class wasn't found in task 2 project

how can i fix this?
Customer reply replied 4 years ago
Never mind i got the program to run, now i just need some comment information on what the program (Program2a) is doing on lines 55-98. also how is the alphabetical sorting achieved for property types.
Tutor: ATLProg, Software Engineer replied 4 years ago
Please rate my answer and I will be happy to add commens
Ask Your Own Homework Question
Customer reply replied 4 years ago
I needed some information regarding what is actually happenings on lines 55-98 of program 2a you wrote for me. http://wikisend.com/download/533244/Solution.zip
Tutor: ATLProg, Software Engineer replied 4 years ago
This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9,151
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
ATLProg and 87 other Homework Specialists are ready to help you
Ask your own question now
Customer reply replied 4 years ago
how is the alphabetical sorting achieved for property types in program 2a?
Tutor: ATLProg, Software Engineer replied 4 years ago
Its becaue of the usage of TreeMap which does sorting by itself

http://docs.oracle.com/javase/6/docs/api/java/util/TreeMap.html
Ask Your Own Homework Question
Customer reply replied 4 years ago
Thanks so much, everything was spot on.
Tutor: ATLProg, Software Engineer replied 4 years ago
welcome
Ask Your Own Homework Question
Ask ATLProg Your Own Question
ATLProg
ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9,151
9,151 Satisfied Customers
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML

ATLProg is online now

A new question is answered every 9 seconds

How JustAnswer works:

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

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

5,731 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
Case Study #2: Technology & Product Review for Identity
Case Study #2: Technology & Product Review for Identity Governance & Administration Case Scenario: For this case study, our focus shifts to technologies and products used to implement the Identity Gov… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Looking for some help creating this project. This is not due
looking for some help creating this project. This is not due for three weeks. So i am looking for completion byFebruary 9th. I will attach the files need to complete this project. Thanks.… read more
The-PC-Guy
The-PC-Guy
Bachelor\u0027s Degree
629 satisfied customers
Thank you for the last answer! It was great. Are you able to
Hello David! Thank you for the last answer! It was great. Are you able to do this one by next Tuesday evening by 12 midnight? Thanks again! Matthew… read more
David L.
David L.
Bachelor\u0027s Degree
6 satisfied customers
For LogicPro only Implement the Singly linked list interface
For LogicPro onlyImplement the Singly linked list interface to store the data from Words.txt (used in lab0). Demonstrate that the list of words does print in reverse using the 'prev' node (rather than… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
Looking for some help writing these python codes. I have
Looking for some help writing these python codes. I have attached the code layout and what needs to be included as well as documentation as to how the code was created.Each program must have its own e… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
I need help writing 2 poems in spanish, The listening
The listening passage for this examination consists of two poems. You'll hear the poems three times. These poems are to be written in Spanish as you hear them spoken on the tape. The listening passage for this examination consists of two poems. You'll hear the poems three times. These poems are to be written in Spanish as you hear them spoken on the tape. http://lessons.pennfoster.com/vid/Listening-Comprehension_Side-A_EQ0850.mp3 … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,381 satisfied customers
Answer, I am a paid member for service from Just Answer.I am
Dear Just Answer,I am a paid member for service from Just Answer.I am working in Excel. I need assistance in providing me a formula for totaling the number of similar numbers in a column of data (900+… read more
NPVAdvisor
NPVAdvisor
CFP Licensee and Practitioner
Master's Degree
180 satisfied customers
In an industrial setting, a pipe is plugged with fats, oils
In an industrial setting, a pipe is plugged with fats, oils and greases. Can you use steam, inside the pipe, to clear the plug? One coworker says yes, another says no. The reasoning behind the no is t… read more
David L.
David L.
Bachelor\u0027s Degree
6 satisfied customers
For LogicPro only: Design a C++ program in which a class
For LogicPro only: Design a C++ program in which a class should manage the free and allocated space. You should use a dynamic node implementation of link list to implement both lists for this assignme… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
You can apply several different worksheets themes from which
You can apply several different worksheets themes from which tab? A.Insert, B. Home, C.File, or D. Page layout! Its not B What would be a situations in which you could use an excel chart to present yo… read more
GLENN
GLENN
Master of Mathematics
345 satisfied customers
6. How many worksheets display in the Excel window when you
6. How many worksheets display in the Excel window when you create a new blank workbook? A. 3 B. 2 C. 4 D. 1 Student Answer: A Answer: Incorrect Reference: Objective 2.17. What would be a situation in… read more
AnswersByEric
AnswersByEric
Software Developer
Associate Degree
38 satisfied customers
Question 18 of 20: Select the best answer for the question.
Question 18 of 20 : Select the best answer for the question. 18. What size paper should you use for a legal document? A. 3″ × 5″ B. 8½″ × 11″ C. 7¼″ × 10½″ D. 8½″ × 14″… read more
JA Engineer
JA Engineer
Broadcast Engineer
Diploma (Honors)
163 satisfied customers
I need help with Exam Number: 00701400 Lesson Name: General
I need help with Exam Number: 00701400Lesson Name: General Math I, Study Unit 2 Pennfoster test… read more
GLENN
GLENN
Master of Mathematics
345 satisfied customers
Answer all three questions and don't exceed 600 words for
Answer all three questions and don't exceed 600 words for each answer while using at least two references to support your answers for each question adopting APA citation in the text and in the referen… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
QUESTION 1 A(n) _________________ policy are codified as
QUESTION 1A(n) _________________ policy are codified as standards and procedures that are used when configuring or maintaining systems.0.10000 points Save AnswerQUESTION 2In systems analysis and desig… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
I need all the questions answered inthis pdf! I need all
I need all the questions answered inthis pdf! I need all sixty questions on all 21 pages answered!… read more
Steven, M.Acc.
Steven, M.Acc.
Instructor
Master\u0027s Degree
252 satisfied customers
Exam Number: 584002RR I need all t he questions answered in
Exam Number: 584002RR I need all t he questions answered in excel in this pdf file now! Asap!… read more
The-PC-Guy
The-PC-Guy
Bachelor\u0027s Degree
629 satisfied customers
How do you differentiate between an expression and an
How do you differentiate between an expression and an equation? Provide an example of each, where the two are either related to or similar to each other. … read more
GLENN
GLENN
Master of Mathematics
345 satisfied customers
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.

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.

Show MoreShow Less

Ask Your Question

x