Recent Feedback
"For ATL PROG Only"accounts_receivableA common business application is an ‘Accounts Receivable' (AR) system. Companies use an AR system to bill their customers on sales of their products. In this assignment question you will develop the functionality of a simple Accounts Receivable system. You will develop classes for a BillofSales, Customer, Item, and Product. The requirement for each of these classes is given below. BillOfSales + Customer customer+ ArrayList items. public BillOfSales(Customer c). public void add( String productDescription, double productPrice, int productQuantity). public double calcAmountDue(). public String toString() Customer+ String name, street, city, state, zipcode. Customer(String name, String street, String city, String state, String zipcode). public String toString() Item+ Product product+ int quantity. public Item( Product product, item quantity). double calcTotalPrice(). public String toString() Product+ String description+ double price. public Product( String description, double price). String getDescription();. double getPrice(); In the above, a prefix of a plus (+) indicates a field and a prefix of a dot (.) indicates a method.You have been provided a test class BillOfSalesTst which has a static test method. For convenience, you do not need to create an instance of BillOfSalesTst. Just right-click and execute the test method. Your output should look like the following:BILL OF SALES John Q. Public123 Elm SteetPleasantville, PA 15213Description Unit Price Num TotalTV 299.99 1 299.99DVD 9.99 7 69.93Speakers 49.99 2 99.98Amount due: 469.90GuidelinesThe following suggestions will help you in developing this assignment. The actual algorithmic complexity of this assignment is not high. There are two interesting parts: hooking up the various classes together (the so called ‘plumbing' of the system) and formatting the output. For hooking up the classes, it will be helpful to draw a picture of the four classes, their fields and methods using index cards, along the lines of the discussion on CRC cards given in the textbook (pg. 426). For formatting the output, read the documentation for the method String.format on the official Java documentation at: http://download.oracle.com/javase/6/docs/api/java/lang/String.html#format%28java.lang.String,%20java.lang.Object...%29For guidance, the sample output used above was produced with the format string, "%-25s %8s %5s %10s\n". The header was produced in the toString method of BillOfSales class with String.format("%-25s %8s %5s %10s\n", "Description", "Unit Price", "Num", "Total");Create a new project in BlueJ by clicking on the menu option Project > New project. This will create a folder with the project name (see below). All BlueJ project-related files for this project will be stored in this folder. Create new classes by clicking on the [New Class] button. All Java class files that you create (.java files) will be stored in the BlueJ project folder. The project folder will contain other files as well. After completing and testing your assignment, zip the entire BlueJ folder and submit it. Since your Instructor will need all files in the project folder, make sure you zip the entire folder. For this assignment the names of the BlueJ project, Java class files, and the zip file you submit are given below: BlueJ project: accounts_receivable Java classes: BillOfSales.java, Customer.java, Item.java, Product.java Submit: accounts_receivable.zip
Optional Information: Language (or Software): Other Browser (if necessary): IE Already Tried: Java
hi
Will work on it
how many hoursuntil deadline ?
I dont know if you can manage this one.
only three hours left.
i gave the question yesterday
but i thought may be you will be busy with the other question
I can handle it if given on time
ya but can you do it in three hours.
let em see if I can do it in 3 hrs
okay let me know in 15 minutes
no GUI on this one ?
what about the other question?
give me 30 on other
ok..
is this GUI ?
or non-GUI ?
its a BlueJay project..
ok
It says that BillOfSalesTst is provided
do you have any BlueJ project that you can upload
Hold on
Can you please go to www.wikisend.com and upload your file ? Once you do that you will get a page that has the "File ID" and "Download Link". Copy the "Download Link" or "File ID" and please paste it in your reply here.
You have been provided a test class BillOfSalesTst which has a static test method. For convenience, you do not need to create an instance of BillOfSalesTst. Just right-click and execute the test method. Your output should look like the following:
BILL OF SALES
John Q. Public123 Elm SteetPleasantville, PA 15213
Amount due: 469.90
i dont see BillOfSalesTxt
do you have code for that?
There should be BillOfSalesTst.java which is provided to you
This is the code in this file
public class BillOfSalesTst{ public static void test() { Customer c1 = new Customer("John Q. Public", "123 Elm Steet", "Pleasantville", "PA", "15213"); BillOfSales bos = new BillOfSales( c1 ); bos.add( "TV", 299.99, 1); bos.add( "DVD", 9.99, 7); bos.add( "Speakers", 49.99, 2); System.out.println( bos ); }}
ok got it
I have the first part ready
let me send you that
As its a big task i will provide answer in parts and the final part will have the complete BlueJ Project
okay thats fine but i want the other answer first
Other meaning the Ticket one?
yes
how many parts are you going to split this into\
One for each class
i dont think it is that big of a task..
how about two files in one shot
there are four classes
so two classes each.
Sorry but the urgency was too high..like other one will be able to send only 1 file per part
Okay if thats the case
then the answer should be correct
last time one of your answers was not correct
i got no grade for that
Which one
can you give me the details
the ones which had multiple questions
yes or no
do you know which one was wrong in that?
The instructor told me all are wrong
but the other question you answered saved me]
i am not sure why they were incorrect as per me they were correct
well for this one its easy to test
ok no problem
as the test class has been provided
we just need to use that to test :)_
okay..
i am ready to do so
lets do the first one first
you mean which one
Ticket one
okay
k
whats happening..
can you Fit F5 in the browser window of previous question
i have switched it to QA mode
just refresh the previous question's browser window and hit accept
i did that also
there is a promp box saying leave this page or stay on the page
do this
copy following URL and paste it i a new browser window
http://www.justanswer.com/computer-programming/6ko9r-atlprog-week-ha-tickets-on-completion.html
I am waiting for you create question for DiscountTicket
You can use http://www.justanswer.com/computer/expert-atlprog/ to do so
Please feel free to ask me another question (by starting question with "For ATLProg Only") , if you’re a subscriber, you can do so at no additional cost beyond your monthly payment.
Hi
Let me know when you are ready
i am ready
Here is product.java
Answer Link
Next will be Item.java
Experience: MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML