A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5,000 worth of merchandise in a week receives $200 plus 9% of $5,000, or a total of $650. Youve been supplied with a list of the items sold by each salesperson. The values of these items are as follows:Item Value1 239.99 2 129.75 3 99.95 4 350.89Develop a C# application that inputs one salespersons items sold for the last week, then calculates and displays that salespersons total sales. Theres no limit to the number of items that can be sold by a salesperson. You do not have to implement this with classes and objects.Please see attachment for further guidance. There are more requirements for the assignment.
Given the text file citytpr.txt containing temperature readings for various cities, develop a Raptor algorithm to sort the temperatures in decreasing values. The sorted temperatures shall be written to a file called sortedcitytpr.txt. The content of the files citytpr.txt and sortedcitytpr.txt must be stored in the formats shown below. For each city, the citytpr.txt includes the city name and the temperature respectively. The solution must work for any arbitrarily large file ( i.e. the number of city-temperature records must not be hardcoded in the algorithm).The submission must be the Raptor file of your flowchart solution. Any other forms of submissions will be marked as zero. Content of citytpr.txtttawa10Hamilton4Victoria2Halifax14Regina11 Content of sortedcitytpr.txt Halifax: 14Regina: 11Ottawa: 10Hamilton: 4Victoria: 2Hint: it is a sorting problem, the solution must resemble something like the main chart for the insert, selection or the bubble sorting algorithm anyone of these will do. The only differences may be : (1) the sorting order (increasing or decreasing), (2) the swap. For the homework the swap must be applied to both temperatures and city names at the same time. For file reading check the example of Figure 7.9 (module 7).Store the city names and corresponding temperatures in two separate arrays. Make sure that for any city, its name and temperature are placed at the same index position of their corresponding arrays. The problem at hand can then be solved by sorting the temperature array (using any one of the sorting algorithms) while at the same time moving the positions of the names in the city array so that they match the positions of their corresponding city temperatures being sorted.
Implement a GUI app to load stock information from StockData.csv, allow user to Search specific companys stock history information, and display the search result in a DataGrid, and the result should be sorted according to the date. Clean the data by removing those rows that the price contains negative value while the data is loading. Add Progress bar to the status bar to indicate the progress of file loading.Using Asynchronous and Parallel programming.
Use the Problem-Solving Strategy discussed in section 6.5 (pages 374 to 382) in the Prelude to Programming book to address solving the problem that has been given. Use the section 6.5 (pages 374 to 382) as a guide to what your documentation should include. This portion should be completed in a Word Document not exceeding 3 pages. Discuss your approach to securing your code from invalid data. Create and document test data to ensure it is error-free.
Janet Lopez is establishing an investment portfolio that will include stock and bond funds. She has $720,000 to invest and she does not want the portfolio to include more than 65% stocks. The average annual return for the stock fund she plans to invest in is 18% whereas the average annual return for the bond fund is 6%. She further estimates that the most she could lose in a year in the stock fund is 22% whereas the most she could lose in the bond fund is 5%. To reduce her risk, she wants to limit her potential maximum losses to $100,000
Sale-Receipt: Write a java program that specifies four parallel one-dimensional arrays to store the product name, quantity and cost-plus ItemTotal. Each array should be capable of holding a number of elements provided by user input. Using a for loop input values for length and width arrays. The entries in the area arrays should be the corresponding values for the product, which is to be used to calculate the costs as follows (thus, itemTotat[i] = quantity[i]* cost [i]) after data has been entered display the following receipt as output: Product Quantity Cost Total Banana 4 2.65 10.60 coke 1 9.18 9.18 Sub-Total 19.78 VAT(15%) 2.97 TOTAL N$ 22.75 ample Run1 Enter the number of products: 2 Enter product 1 name, Qty and Cost: Banana 4 2.65 Enter product 1 name, Qty and Cost: Coke 1 9.18 Output1: Product Quantity Cost Total Banana 4 2.65 10.60 coke 1 9.18 9.18 Sub-Total 19.78 VAT(15%) 2.97 TOTAL N$ 22.75
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.