subject

The sales department of a company has gathered monthly sales numbers (number of sold items and the sales revenue in dollars) of each product they have been selling for many years. the new director of the department wants to know how long (how many months) it has taken the department to achieve the first million dollars of sales of each product that it has sold. the department provides a software analyst with the sales data and asks him/her to write a java program that can provide the information that the director needs (by printing out the information to the console). for each product, the program should read the monthly sales data from the console and print out the desired information in months. the program should check to be sure that values of monthly sales are not negative. important notes: • the program can be used for only one product at any time when it runs. • for the purpose of testing, students can make up the data of monthly sales of some imaginary product. important notes: • in eclipse ide, inside the newly created project homework_2, students should create a new program, i. e. a class, named: program_1 under a new package named problem_1for his/her work on this problem. • to submit, students directly submit the .java files, and submit it via e-learning (attach the file)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:20
This problem has been solved! see the answeran evil king has a cellar containing n bottles of expensive wine, and his guards have just caught a spy trying to poison the king’s wine. fortunately, the guards caught the spy after he succeeded in poisoning only one bottle. unfortunately, they don’t know which one. to make matters worse, the poison the spy used was very deadly; just one drop diluted even a billion to one will still kill someone. even so, the poison works slowly; it takes a full month for the person to die. design a scheme that allows the evil king to determine exactly which one of his wine bottles was poisoned in just one month’s time while expending at most o(logn) of his taste testers.you are not allowed to use n testers, one for each bottle, and see which one tester dies after 30 days.(no pseudocode needed. just answer in words, how many testers you use, how you use them and why you correctly identify the poisoned bottle in 30 days)
Answers: 2
question
Computers and Technology, 22.06.2019 16:30
Corey set up his presentation for delivery to his team.the information he had to convey was critical to their job performance.he knew he would need a lot of time to explain each point
Answers: 3
question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 22.06.2019 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
You know the right answer?
The sales department of a company has gathered monthly sales numbers (number of sold items and the s...
Questions
question
Mathematics, 14.07.2020 22:01
Questions on the website: 13722363