Your company needs you to create a program that estimates the amount of various supplies you need for a month based on past sales performance. This way the warehouse can be better prepared for your monthly stock requests. When your program runs, it will first ask you how many clients you have active for the month. Based on the number you provide, it will then perform calculations to estimate how many units of each product you need for the month. Finally, it will output this information.
Answer
***********Start of
java code**********************
public class MonthlyProductNeed {
public static void main(String[] args) {
CalculateStock(15);// this is used
to call the function with active client as 15
}
// function which is used to calculate the monthly stock
requirement.
static void CalculateStock(int activeClient)
{
int premiumCopyPaper;
int premiumCopyPaperReam;
int
fourtyPoundlLetterStrockPaper;
int
fourtyPountlLetterStrockPaperReam;
int airstreamDeluxA4paper;
int
airstreamDeluxA4paperReam;
premiumCopyPaper=activeClient*8600;
premiumCopyPaperReam=premiumCopyPaper/500;
fourtyPoundlLetterStrockPaper=(activeClient/2)*5400;
fourtyPountlLetterStrockPaperReam=fourtyPoundlLetterStrockPaper/500;
airstreamDeluxA4paper=((activeClient*15)/100)*1300;
airstreamDeluxA4paperReam=airstreamDeluxA4paper/500;
int
totalReamForMonth=premiumCopyPaperReam+fourtyPountlLetterStrockPaperReam+airstreamDeluxA4paperReam;
int
totalpaperOrderForMonth=premiumCopyPaper+fourtyPoundlLetterStrockPaper+airstreamDeluxA4paper;
int
totalNumberOfshippingLable=(totalpaperOrderForMonth*75)/100;
System.out.println("Total Number of
Ream of Paper for this month: "+totalReamForMonth);
System.out.println("Total Number of
Ream of premium copy paper : "+premiumCopyPaperReam);
System.out.println("Total Number of
Ream of 40 Pound Letter Strock Paper:
"+fourtyPountlLetterStrockPaperReam);
System.out.println("Total Number of
Ream of Airstream Delux A4 paper:
"+airstreamDeluxA4paperReam);
System.out.println("total
BusinessCard Required: "+totalpaperOrderForMonth *5);
System.out.println("total Number
Ofshipping Lable Required : "+totalNumberOfshippingLable);
}
}
**********End of java code*************************
Your company needs you to create a program that estimates the amount of various supplies you need...
You are running a business that sells office supplies. Your monthly lease on the space is $3600. This past week, you sold 820 rulers for $1.25 each (they cost you $0.25 each), 900 reams of paper at for $7.99 per ream (they cost you $4 each), 172 computers at an average price of $674.99 (your cost: $497), and 86 printers at an average price of $109.95 (your cost: $89). Over the course of this week, you paid 4 part-time employees...
Write a C++ program to display yearly calendar. You need to use the array defined below in your program // the first number is the month and second number is the last day of the month. int yearly[12112] £1,31),2,28),(3,31),(4,30),(5,31),(6,30)7,313,(8,31),{9,30).10,31),11,30), 12,31]7;
1. Miguel and Jake run a paper company. Each week they need to produce 1,000 reams of paper to ship to their customers. The paper plant's long-run production function is Q = 4K 0.75 0.25, where a is the number of reams produced, K is the quantity of capital rented, and L is the quantity of labor hired. The weekly cost function for the paper plant is C = 10K + 2L, where C is the total weekly cost. a....
Need help with this problem A company has two products: standard and deluxe. The company expects to produce 35,494 Standard units and 40,198 Deluxe units. It uses activity-based costing and has prepared the following analysis showing budgeted cost and cost driver activity for each of its three activity cost pools. Budgeted Activity of Cost Driver Budgeted Standard Deluxe OH Cost $ 93,000 2,500 Purchases 5,250 Purchases Activity 1: Purchasing Activity 2: Designing $ 92,000 4,500 Designs 5,500 Designs Activity 3:...
Write a C++ program that will calculate the total amount of money for book sales at an online store. For each sale, your program should ask the number of books sold and then the price for each book and the shipping method (‘S’ for standard shipping and ‘E’ for expedited shipping). The program will produce a bill showing the subtotal, the sales tax, the discount, the shipping charge, and the final total for the sale. The program will continue processing...
please help with this. You must create a sales tracking program named SalesTracking.java. This program must track monthly sales as well as compute average yearly sales, total sales for the year, and which month had the highest sales and which month had the lowest sales. The program should prompt the user for the sales for each month starting with January. After all the monthly sales have been entered, your program should have methods that do the following. getSales(): This method...
Java Concurrency! You have been given a simple API to buy and print postage. Write a program that submits each incoming order to the API and then prints the shipping label. Unfortunately each call to the shipping label API is SLOW… To compensate for this, use concurrency so that your program can be making several calls to the API at one time. We also need to keep track of our expenses, so make sure to calculate how much money is...
Your program will ask the user to enter the amount of money they want to borrow, the interest rate, and the monthly payment amount. Your program will then determine how many months it will take to pay off that loan, what the final payment amount will be, and how much interest was paid over that time. If the monthly payment amount isn't high enough to pay off more than one month's interest, your program should notify the user what the...
Analyze a family's spending habits by creating a program that performs arithmetic calculations. The program should ask the user to enter information for the following questions. How much does the family spend on groceries per month? How much does the family spend on dining out per month? How much does the family spend on entertainment per month? How much does the family spend on rent/mortgage per month? How much does the family spend on utilities per month? How many family...
Write a Python program to create userids: You work for a small company that keeps the following information about its clients: • first name • last name • a user code assigned by your company. The information is stored in a file clients.txt with the information for each client on one line (last name first), with commas between the parts. In the clients.txt file is: Jones, Sally,00345 Lin,Nenya,00548 Fule,A,00000 Your job is to create a program assign usernames for a...