Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

Homework

I need IT/215 inventory part 2 and part 3

Customer Question
I need IT/215 inventory...
I need IT/215 inventory part 2 and part 3
Submitted: 2 years ago.Category: Homework
Show More
Show Less
Ask Your Own Homework Question
Answered in 13 hours by:
8/17/2015
Tutor: F. Naz, Chartered Accountant replied 2 years ago
F. Naz
F. Naz, Chartered Accountant
Category: Homework
Satisfied Customers: 5,379
Experience: Experience with chartered accountancy
Verified
This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
Customer reply replied 2 years ago
I'll b out of work at 5 i'll send the code i have completed plus details for you to. Complete at that time can you get part 2 completed tonight for me as its already late. Thanks. Art
Tutor: F. Naz, Chartered Accountant replied 2 years ago
Hello,
Without the details I am unable to assist you, please provide the details so I can review the work, thanks.
Ask Your Own Homework Question
Customer reply replied 2 years ago
Ok here you go I'll attach my files from last week as well as my Professors instructions for this week to include recap and pseudocode This Professor is very particular please pay close attention to detail be sure to use Format specifiers and BubbleSort Thank YouIT/215 week 6 Inventory Part 2
For this assignment you will modify the Inventory Program Part 1 so that it meets the following criterion:1. The Inventory Program application should be modified so that the application can store and retrieve multiple items (objects). You will use an array to store the items (objects).Note: You will use the same class that you created from Inventory Part 1. It is important to complete Part 1 because you will need to use the “Product” class that was created. You will not need to make any changes to the class. This is where our discussion about inheritance comes in.2. You will also need to create a method to sort the array by the name of the product. You should use a bubble sort for this. The method should pass the array to the bubble sort and return a sorted array.Examples of a Java Bubble Sort:http://www.java-examples.com/java-bubble-sort-examplehttp://javarevisited.blogspot.com/2014/08/bubble-sort-algorithm-in-java-with.htmlBubble Sort Tutorial:http://mathbits.com/MathBits/Java/arrays/Bubble.htmhttp://www.roseindia.net/java/beginners/arrayexamples/bubbleSort.shtml3. You will need to create a method that calculates the value of the entire inventory. This will appear as a single display line after all of the items in the inventory have been displayed (each inventory item should be displayed on one line).4. Remember to post both the product class file and your program file as attachments with a .java extension.Note: If you created your product class correctly in the last assignment, you should not have to make any changes to it (but you still need to post it with this assignment).Start pseudocode for main methodCreate the array that will store the objects that will contain the inventory itemsInstantiate at least 3 objects and store each in the array (each object will have the same name)Assign each new object to an element of the arraySort the array (must use a bubble sort - I will post an example tomorrow)Display each inventory item with its inventory value on one line (hint: use a for loop use a for loop to retrieve the necessary data from the Product class)Calculate total inventory (the total inventory value of all items in inventory) (hint: use a for loop to retrieve the necessary data from the Product class)Display the total inventory value (use format specifiers and use a for loop to retrieve the necessary data from the Product class)End pseudocode for main methodThe following is pseudocode for the Product class. You need to have this working before you can work on Part 2.Start pseudocode for product classDeclare variables for the item number, name of the item, the number of units in stock, price of each unit and don’t forget the variable that will contain the inventory value for each item.Create the constructor that will receive the 4 values that you will be passing when you create a new objectAssign the values passed to the constructor to the variables declared in this classCreate the get and set methods for each variableCreate the method to calculate the inventory value for each item (units * price)End pseudocode for product classIt/215 week 6 Inventory Part 3Class,For this assignment you will modify the Inventory Program Part 2 so that it meets the following criterion:1. Modify the Inventory Program application by creating a subclass of the product class that uses one additional unique feature of the product you chose.2. In the subclass, create a method to calculate the value of the inventory of a product with the same name as the method previously created for the product class.3. The subclass should also have a separate method to add a 5% restocking fee to the value of each inventory item of that product.4. Modify the output to display the additional feature and the 5% restocking fee.5. Remember to post as an attachment with a .java extension.Following is my code from Inventory Part 1 and my Product class make the Array hold 5 items lets use CD's Van Halen, Bon Jovi, AC/DC, Nickelback, and MetallicaI don't have room here to send the codes I'll send them in the next mail.
Customer reply replied 2 years ago
Inventory Part 1
/*
* Create an Inventory Program that displays the name, number, product ID, price, and total value
*
*
*//**
*Author Art Scott
* 8/8/2015
*/public class InventoryPart1 {/**
* @param args the command line arguments
*/
//main method begins execution of java application
public static void main(String[] args) {// Show Program Welcome Message
System.out.println( ); // Show an Empty Line
System.out.println( "Welcome to the Inventory Program"); // Show Welcome Message
System.out.println( ); // Show an Empty LineProduct myProduct = new Product(); // Create a new product object with no parameters// Show an Empty Line
System.out.println( );// Output program results to the display
System.out.println( ); // Show an Empty Line
System.out.println( "**** PRODUCT INFORMATION ****" );
System.out.println( "Name: " + myProduct.getName() );
System.out.println( "ID: " + myProduct.getID() );
System.out.printf( "Unit Price: $ %.2f\n ", + myProduct.getUnitPrice() );
System.out.println( "Units in Stock: " + myProduct.getUnitsInStock() );
System.out.printf( "Total Product Value: $ %.2f\n ", + myProduct.getTotalValue() );// Show Program Exit Message
System.out.println( ); // Show an Empty Line
System.out.println( "Now exiting the Inventory Program."); // Show Exit Message
System.out.println( ); // Show an Empty Line} // end method main
} // end class InventoryPart1Product class/*
* Create Product class
*
*
*//**
*@author Art Scott
* 8/8/2015
*/
public class Product {
private String productName; // Variable that stores the product name
private String productID; // Variable that stores the product ID/number
private long unitsInStock; // Variable that stores the number of product units in stock
private float unitPrice; // Variable that stores the unit price of the product
Product()
{
setName("CD");
setID("CdFile");
setUnitPrice((float) 3.99);
setUnitsInStock(100);
}
// Constructor for a product with a supplied name
Product(String pProductName)
{
setName(pProductName);
setID("UNKNOWN");
setUnitPrice(0);
setUnitsInStock(0);
}
// Constructor for a product with a supplied name and ID/number
Product(String pProductName, String pProductID)
{
setName(pProductName);
setID(pProductID);
setUnitPrice(0);
setUnitsInStock(0);
}
// Constructor for a product with a supplied name, ID/number, and unit price
Product(String pProductName, String pProductID, float pUnitPrice)
{
setName(pProductName);
setID(pProductID);
setUnitPrice(pUnitPrice);
setUnitsInStock(0);
}
// Constructor for a product with a supplied name, ID/number, unit price, and number of units in stock
Product(String pProductName, String pProductID, float pUnitPrice, long pUnitsInStock)
{
setName(pProductName);
setID(pProductID);
setUnitPrice(0);
setUnitsInStock(0);
}
// Method that sets the name of the product
public void setName (String pProductName)
{
productName = pProductName; // Set the name of the product
}
// Method that sets the ID/number of the product
public void setID (String pProductID)
{
productID = pProductID; // Set the product ID/number
}
// Method that sets the unit price of the product
public void setUnitPrice (float pUnitPrice)
{
// Check to see if a positive value is provided
if (pUnitPrice > 0)
{
unitPrice = pUnitPrice; // Set the product's unit price
} else {
unitPrice = 0; // Set the product's unit price to zero
}
}
// Method that sets the number of product units in stock
public void setUnitsInStock (long pUnitsInStock)
{
// Check to see if a positive value is provided
if (pUnitsInStock > 0)
{
unitsInStock = pUnitsInStock; // Set the number of product units in stock
} else {
unitsInStock = 0; // Set the number of product units in stock to zero
}
}
// Method that retrieves the name of the product
public String getName()
{
return productName; // Return the product name
}
// Method that retrieves the product ID/number
public String getID()
{
return productID; // Return the product ID/number
}
// Method that retrieve the number of product units in stock
public long getUnitsInStock()
{
return unitsInStock; // Return number of units in stock
}
// Method that retrieves the unit price of the product
public float getUnitPrice()
{
return unitPrice; // Return product unit price
}
// Method computes and returns the total inventory value of the product
public float getTotalValue()
{
return ((float)unitsInStock * unitPrice); // Return total inventory value
}
}// end class ProductOk that's it if you can get this done tonight that would be great part 2 was due Friday and part 3 was due yesterday I know my bad I thought I would have time to complete this myself but it didn't happen
Thanks again
Tutor: F. Naz, Chartered Accountant replied 2 years ago

Hello,

Sorry, I can not provide you the answer of this question as I am out of resources, thanks.

Ask Your Own Homework Question
Customer reply replied 2 years ago
Then have scott do it he is familiar with the assignment. Anf i requested him in the first place what do you mean your out of resources are you a javs programmet or no you already. took my money
Ask F. Naz Your Own Question
F. Naz
F. Naz
F. Naz, Chartered Accountant
Category: Homework
Satisfied Customers: 5,379
5,379 Satisfied Customers
Experience: Experience with chartered accountancy

F. Naz 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

5,379 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
Just wanted to see if you would be interested in helping me
Hello Again! Just wanted to see if you would be interested in helping me with two more programs? I will attach the Program outlines and the Word documents. Please let me know if you would like to help… read more
George Sibiya
George Sibiya
PhD
217 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
37 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
343 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
5,379 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
5,379 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
343 satisfied customers
Duane will use an open system LAN because he knows the open
Duane will use an open system LAN because he knows the open system will support varieties of hardware and software components made by different vendors. Steve will use a closed system LAN because he k… read more
F. Naz
F. Naz
Chartered Accountant
5,379 satisfied customers
IT 278 Network Administration 1. Server roles and features
IT 278 Network Administration 1. Server roles and features can be added and updated through both a GUI installation and a Server Core installation. In a short essay, explain how to use Windows PowerSh… read more
David L.
David L.
Bachelor\u0027s Degree
6 satisfied customers
For LogicPro only. need help with this debugging to input it
For LogicPro only.need help with this debugging to input it into raptor// A high school is holding a recycling competition // This program allows a user to enter a student's // year in school (1 throu… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
I need the answer key to penn american literature, 986174RR
I need the answer key to penn foster american literature, 986174RR 986175RR 986176RR 986177RR 986178RR … read more
GLENN
GLENN
Master of Mathematics
343 satisfied customers
For LogicPro only * Reading data strings from a file *
For LogicPro only* Reading data strings from a file * Convert from int based container to templates or generics based * Accommodate dynamic resizing using this algorithm: 1. Starting with a dynamic si… read more
LogicPro
LogicPro
Engineer
Bachelor of Technology
5,731 satisfied customers
Question 1 of 20: Select the best answer for the question.
Question 1 of 20 : Select the best answer for the question. 1. For what type of document would you use the landscape page orientation? A. Three-column brochure B. Business letter C. Legal contract D. … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,381 satisfied customers
5 - 5 x 5 +5. What is the answer to 5 - 5 x 5 + 5? Only that
no, only that two people using order of operations keeps getting different answers… read more
GLENN
GLENN
Master of Mathematics
343 satisfied customers
Only for F.Naz Tutor. Kindly help with a research report,
Only for F.Naz Tutor.Kindly help with a research report, the links is http://www.mediafire.com/file/bmcea6dt278nw8w/report.txt… read more
F. Naz
F. Naz
Chartered Accountant
5,379 satisfied customers
If I did not look at the description which says 4 cpu cores
if I did not look at the description which says 4 cpu cores and 6 gpu core to make TEN I wonder if you can bundle the two to make an advertisement that says 10 core I also have others in the same fiel… read more
Pete
Pete
Engineer
Bachelor\u0027s Degree
1,124 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