Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

IN NEED OF A COMPUTER SCIENCE GENIUS\'S HELP. DEVELOP a 1st Humanuel level walk

ID: 3687108 • Letter: I

Question

IN NEED OF A COMPUTER SCIENCE GENIUS'S HELP.

DEVELOP a 1st Humanuel level walk through, 2nd a I/O Design, 3rd an ESSENTIAL MODEL, 4th a PSEUDOCODE, 5th a Java Progam, in order to solve the given Problem.

Problem Description: The Denver Urban Sports Technicians (DUST) rent and sell recreational equipment including canoes, bikes, windsurfers, and trailers. The accountant for DUST requires a monthly supplier report. A number of suppliers are used and each sells equipment to DUST on a credit basis and charges DUST interest on the final monthly balance owed to the supplier. The transactions with each supplier are tracked over the month on a Supplier Transaction Sheet The Supplier Transaction Sheet first lists the month the transactions occurred. Then for each supplier the Transaction Sheet lists the supplier name, the balance forward (balance owed to supplier for previous purchases) and the monthly interest rate. The supplier's entry is followed by all the transactions related to the supplier for that month. Each transaction includes the transaction number, type and amount DUST requires a monthly report to show all the information seen on the Supplier Transactioin Sheet. Additionally at the end of each transaction record the report must display the current balance. And after each supplier 's last transaction the report must display the amount of monthly interest due and the ending balance owed to the supplier Also after all suppliers are processed a report summary must show the overall balance, the average purchases per supplier for the month, the total monthly payments, the highest supplier final balance and the name of the supplier owed this balance. In the case of multiple instances of the highest only report the first instance. All numeric values listed in the summary are monetary values The transactions are of two types. Either a B type which identifies that DUST bought (purchased on credit) items from the supplier, or a P type which identifies that DUST paid (made a payment to) the supplier The transaction type value can be a single character (char type) or a String type The current balance is a running balance calculated by starting with the balance forward amount and then lindat111 bv each transaction record The monthly interest amount is the final current balance owed the supplier multiplied by the nterest percentage The ending balance is the final current balance owed the supplier plus the monthly interest amount The overall balance is the sum of all supplier ending balances The average purchases per supplier for the month is the total of all purchase transactions divided by the number of suppliers processed. All transaction & balance amounts should be displayed with decimal positions to ensure monetary values are expressed in dollars and cents DUST is willing to enter the data from the Transaction Sheet in the order shown in the test data A zero (0) will be entered for the transaction number to indicate the end of entry for a supplier. The word "Done" will be entered for the supplier name to indicate end of entry for the month. A (small) subset of data for a typical game day is given below for you to test your models Denver Urban Sports Technicians Supplier Transaction Sheet Date: January 2016 Monthly Trans Supplier Balance Interest Numbe Type Amou TransTrans Trans NmeForward umber Tvpe Amount Rate Alpha 3500.50 3.00% Ventures 3500.5 21 B 904.75 P 1500.75 Mike's Motor | 1500.20| 3.50% Bikes 31 B 102.88 B 500.88 B 2400.88 P 1600.88 32 34 Steph's | 2600.00| 5.00% Sails 51 52 53 B 1301.00 P 1300.00 P 1300.00 Done

Explanation / Answer

import javax.swing.*; import javax.swing.border.TitledBorder; public class TableTitle { public TableTitle () { JFrame frame = new JFrame (); frame.setDefaultCloseOperation (JFrame.DISPOSE_ON_CLOSE); JPanel panel = new JPanel (); panel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder (),"Denver Urban Sports Technicians",TitleBorder.CENTER,TitleBorder.TOP)); String[] columnNames = {"SUPPLIER NAME", "BALANCE FORWARD", "MONTHLY INTEREST RATE" , "TRANSC NUMBER", "TRASC TYPE", "TRANSC AMOUNT"}; Object[][] data = { {"Alpha Adeventures", 3500.50, "3.00%", "NULL", "NULL", "NULL" }, {"NULL", "NULL", "NULL", 21, "B", 904.75 },{"NULL","NULL","NULL",22,"P",1500.75},{"NULL","NULL","NULL",0,"NULL","NULL"},{"mike's motor bikes",1500.20,3.50%,"NULL","NULL","NULL"},{"NULL","NULL","NULL",,31,"B",102.88},{"NULL","NULL","NULL",,32,"B",500.88},{"NULL","NULL","NULL",,33,"B",2400.88},{"NULL","NULL","NULL",,34,"P",1600.98,{"NULL","NULL","NULL",,0,"NULL","NULL","NULL"},{"STEPH'S SAILS",2600.00,5.00%,,"NULL","NULL","NULL"},{"NULL","NULL","NULL",,51,"B",1301.00},{"NULL","NULL","NULL",,52,"P",1301.00},{"NULL","NULL","NULL",,53,"P",1301.00},{"NULL","NULL","NULL","NULL","NULL","NULL"},{"DONE","NULL","NULL","NULL","NULL","NULL"}};