Need Help (Homework Assignment)

Budget $30 - $50 USD
Bids 38
Average Bid $24

Please produce a program according to the instructions given. Who ever does this will be paid well. Thank you. I need this before Monday (November 6th or early November 7th)


## Deliverables

Imagine a sequence of rooms / apartments in a hallway. Each room has several attributes: name of tenant, rent cost, pollution level, and noise level. Write a program that allows one to determine the level of noise and pollution in a given room that is due to a combination of the room tenant’s own behavior and the neighbors several rooms to the left and right.

Use the following data for running the programs:













































































































| Room# | Tenant name | Rent | Pollution | Noise |
| 21 | Jack | 500 | 80 | 20 |
| 22 | Jane | 450 | 10 | 10 |
| 23 | John | 600 | 5 | 50 |
| 24 | Spot | 200 | 100 | 100 |
| 25 | Apple | 150 | 1 | 1 |
| 26 | Bill | 520 | 30 | 25 |
| 27 | George | 480 | 40 | 5 |
| 28 | Steve | 800 | 70 | 55 |
| 29 | Anne | 750 | 10 | 10 |
| 30 | Meow | 450 | 90 | 10 |

Your program should read the room number that you want to check and the number of rooms that form the radius of the neighborhood for doing the test. For example, if you specify room number 5 (Apple) and neighborhood radius one, you need to sum up the pollution and noise level of room numbers 4, 5, and 6. If you specify room number 2 (Jane) and neighborhood size three, you need to sum up the properties of room numbers 1, 2, 3, 4, and 5.

Here’s an example run:

Neighborhood Tester

===================

Tenants:

Jack, Jane, John, Spot, Apple, Bill, George, Steve, Anne, Meow

Enter room number to test: 25

Enter neighborhood radius: 1

Tenant: Apple

Rent: 150

Pollution level: 1

Noise level: 1

Neighbors: Spot, Bill

Neighborhood pollution level: 131

Neighborhood noise level: 126

Here’s another example run:

Neighborhood Tester

===================

Tenants:

Jack, Jane, John, Spot, Apple, Bill, George, Steve, Anne, Meow

Enter room number to test: 22

Enter neighborhood radius: 2

Tenant: Jane

Rent: 450

Pollution level: 10

Noise level: 10

Neighbors: Jack, John, Spot

Neighborhood pollution level: 195

Neighborhood noise level: 180

Implement the program by using arrays of objects. Each object is of type ApartmentRoom. The class ApartmentRoom contains the following data: tenant name, rent cost, pollution level, and noise level. Each of the data is private.

The class ApartmentRoom has the following operations: member access functions (setTenantName, getTenantName, setRent, getRent, setPollutionLevel, getPollutionLevel, setNoiseLevel, getNoiseLevel) and a print method. The print method should display the tenant name, rent, followed by the pollution and noise levels. Example for the “Apple?? tenant:

Tenant: Apple

Rent: 150

Pollution level: 1

Noise level: 1

You should make sure that the user input makes sense. If the room number is not one of the ones listed in the data above then display an error message. If the size of neighborhood is negative you should also display an error message.

You’ll need to write two classes. Name the class representing the room as ApartmentRoom and name the class with main method Program04. Submit the files [url removed, login to view] and Program04.java. Submit one of the files first following the usual submission step and then don’t forget to click “Add Another File...?? to add your second file.


## Platform

Java (JGrasp)

Post a Project Like This

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • boilerbill Profile Picture

    boilerbill

    United States

    ## BIO | **Objective** | Contributing to the success of software development projects. | | | | | | **Education:** | 1989 - 1993 Purdue University, West Lafayette, IN * **Bachelors of Science in Computer Technology** * Major GPA 5.2/6.0 * Overall GPA 5.03/6.0 | | | | | | **Employment:** | 2000 - present Web Developer * Developed an agent centric web site used by over 8,000 agents across the country * Design and implemented a quoting application for a small insurance company | | | | | | | 1996 - 2000 PC Developer * Maintained several windows desktop applications making code changes and redeploying as necessary * Maintained Installshield scripts to automate updating new versions of a client/server based quoting sysyem. The scripts kept the code base version in sync with the database version. | | | | | | **Certification:** | Sun Certified Java Programmer JDK 1.4 | ## Area of Expertise * WSAD 5.1 * Server side Java (Struts framework, servlets, and JSPs) * ANT * JUnit * ASP.NET * Java – AWT, Swing, SWT * VS.NET * VS6.0 * Visual Sourcesafe * Enterprise Architect(UML modeling tool)

    PHP, Copywriting, Windows Desktop, and Linux

  • wielki Profile Picture

    wielki

    Poland

    ## BIO I'm 22 years old coder from Poland. I specialise in html/css , php, java script and c/c++ coding. ## Area of Expertise Linux, Windows (98,2000,XP), Pascal/Delphi, C/C++/Borland C++ Builder, (D)HTML, PHP, Javascript, BASH scripting, MySQL & Firebird databases

    PHP, ASP, C Programming, and Javascript

  • arencinosa Profile Picture

    arencinosa

    Plaza de la Revolución,  Cuba

    Computer Scientist, Software Developer and System Administrator to your service!

    Java, Javascript, XML, and Adobe Flash

  • dj1001 Profile Picture

    dj1001

    Australia

    ## BIO Experienced software developer. I have been working in the financial IT industry for over 10 years. ## Area of Expertise Java, Sybase, Access, C++, Microsoft SQL, Access, MySQL, FIX Protocol

    PHP, Perl, ASP, and C Programming

  • juanleonsolis Profile Picture

    juanleonsolis

    Ecuador

    ## BIO <table cellspacing="1" cellpadding="1" width="100%" bgcolor= "#EFEFEF" border="0"> </table> ## Area of Expertise <table cellspacing="1" cellpadding="1" width="100%" bgcolor= "#EFEFEF" border="0"> </table>

    PHP, Perl, ASP, and C Programming

  • codewarrior100 Profile Picture

    codewarrior100

    United States

    ## BIO I have eight years of industry experience working for companies in **Asia, Europe, North America** and **South America** in Telecommunications, Banking, Retail and Utilities markets. I worked in the rolls of Technical Lead/ Team Lead/ Architect/ Senior Developer. I have MS from University of Texas at Dallas in Computer Science Engineering (majoring in Networking & Telecommunications). I have worked on trend setting projects in Online-Banking, VoIP and Speech reco based IVRs, Middleware development, Computer Telephony Integration and designing forward looking contact center technologies. ## Area of Expertise Java, WebLogic, J2EE, SIP, VoIP, PSTN, Telephony, Genesys, Cisco ICM, VXML, CTI, SAP, TTS, ASR, IVR, Asterisk, Speech.

    PHP, Perl, C Programming, and Java

  • cretz Profile Picture

    cretz

    Romania

    ## BIO First Name: Ioan Last Name: Lazarciuc Date of Birth: 15.11.1985 Studies: -Currently Computer Science at Cluj Napoca Technical University Romania -High School ## Area of Expertise C, C++, C#, Java, 3D Studio Max

    PHP, Java, Graphic Design, and Copywriting

  • anniraj Profile Picture

    anniraj

    India

    ## BIO **CURRICULUM  VITAE** **ANNI KUMAR** **97, KRISHI APTT.** **SEC-13 ROHINI** **DELHI-85** **Contact No-91-011-27564841, 09871396340** **E-mail :- <a href= "mailto:anni\_kumari@edmail.com">raj\_kumar95@hotmail.com</a>** **PROFESSIONAL EXPERIENCE** **Faculty in Institute of Science & Information Technology a division of Cyber Synergy (P) Ltd Bokaro Steel City for the period of three and a half yrs dated 31st Aug. 1998 to 31st Jan. 2002.** **JOB PROFILE** **Conducting  Theory classes as well as Practical for the following batches :-** * **DOEACC ‘O’ level** * **DOEACC ‘A’ level** * **Sikkim Manipal’s B.Sc (IT) & M.Sc. (IT)** * **MD University’s (Rohtak) B.C.A and M.Sc. (Computer Science)** * **C-DAC’s Modular Courses’** * **Making and Preparation of course structure** **ACADEMIC QUALIFICATION** **Cleared DOEACC’s ‘O’ , ‘A’ level and  â€˜B’  level** **‘O’ level          :               A Grade** **Course Content** * **Introduction to Information Technology** * **Personal Computing Software** * **Business System** **(a)                FoxPro 2.6** **(b)               Introduction to Business Application** * **C language** ** â€˜A’ level         :              B Grade** **Course Content** * **Computer Organisation and System Programming with ALP** * **Computer Graphics** * **DBMS** * **Data Communication** * **OOPS with C++** * **Data Structure through C** * **System Analysis and Design** **‘B’  level completed which is equivalent to MCA** **Passed Higher Diploma in Software Application from TATA INFOTECH EDUCATION Bokaro Steel City (Jharkhand)** **Duration           :           Two Years** **Overall Grade   :           Excellent** **Course Content** * **Operating System         Windows Me, Windows NT, Unix** * **Languages                    C, C++, Visual C++, Visual Basic, Sun Java** * **Packages                      Ms Office 2002,FoxPro 2.6,Sql Server** **Graduation from Vinoba Bhave University** **Subjects           :           Chem Hons with Physics and Maths as subsidiary** **Division            :           Ist** **PROJECTS UNDERTAKEN** * **Inventory Management using FoxPro 2.6** * **Marksheet Management  -do-** * **Payroll management        -do-** * **Computer Aided Design  using ‘C’ graphics** * **Bus Reservation System  using VBasic** **PERSONAL PROFILE** **DOB                :           21st April 1977** **Marital Status   :           Married** **Hobbies           :           Net surfing ,cooking ,freaking out** **Signature                                                                                              Date** **CURRICULUM  VITAE** **ANNI KUMAR** **97, KRISHI APTT.** **SEC-13 ROHINI** **DELHI-85** **Contact No-91-011-27564841, 09871396340** **E-mail :- <a href= "mailto:anni\_kumari@edmail.com">raj\_kumar95@hotmail.com</a>** **PROFESSIONAL EXPERIENCE** **Faculty in Institute of Science & Information Technology a division of Cyber Synergy (P) Ltd Bokaro Steel City for the period of three and a half yrs dated 31st Aug. 1998 to 31st Jan. 2002.** **JOB PROFILE** **Conducting  Theory classes as well as Practical for the following batches :-** * **DOEACC ‘O’ level** * **DOEACC ‘A’ level** * **Sikkim Manipal’s B.Sc (IT) & M.Sc. (IT)** * **MD University’s (Rohtak) B.C.A and M.Sc. (Computer Science)** * **C-DAC’s Modular Courses’** * **Making and Preparation of course structure** ## **Area of Expertise** **operating system- Ms windows, linux, language- c, c++, vc++, visual basic, java DBMS- sql, foxpro, ms access package- ms office**

    PHP, C Programming, Copywriting, and Translation

  • vw265236vw Profile Picture

    vw265236vw

    Rockville,  United States

    ## BIO ** EDUCATION ** * MS in Computer Engineering * BS in Computer Engineering ## Area of Expertise **QUALIFICATIONS** **Languages**    Assembler, Pascal, C/C++ (including MFC), Visual Basic, C#, Java, SQL, HTML, XML, WSDL; **Web Technologies**    JSP, Java Servlets, ASP, ASP.NET; Development Environments: Borland Pascal, Borland C, Visual Studio (6.0 and .NET),  NetBeans; **Databases**    Microsoft Access, Microsoft SQL Server, mySQL, Oracle 10g; **Servers and Toolkits**    Microsoft IIS, Apache Tomcat **Software**    Microsoft Office, Microsoft Visio, FrontPage, Adobe Photoshop, Macromedia Dreamweaver, Flash; 

    PHP, Photography, Windows Desktop, and Linux

  • vw1642137vw Profile Picture

    vw1642137vw

    India

    ## BIO Resume:I am a successful software engineer and a freelance writer. My writing skills are excellent and I also have very strong research skills. I have been writing for only a short time and already have a number of articles published online. I have a great thirst for knowledge that leads me to always be willing to research and write about new subjects. I have a very keen attention to detail that allows me to be a very good CRITIC and I have published my critic work in form of models and charts.I also excel at proofreading . Qualification: B.Sc.(Physics Hons) St.                   Stephen's College,Gold                    Medalist in MCA,DU. Experience: Worked on **HBA drivers on IOCTL** route. Worked on **Java** providing the **front end** of Dolphin mobiles. Worked as a content writer with India Today and specialize in - Health Care Applications -Interior designing articles -E-Books -Resumes - Real Estate -Direct Mail copy writing -Autoparts Industry -Internet articles -Ghost Writing -Press Releases -Business Plans -Articles -Story Writing ## Area of Expertise Linux, C, C#, Java, Drivers, Perl Programming PHP Programming

    PHP, ASP, C Programming, and Java