Question

Requirement: Provide one application for a business store that sale 2 models of one proo model FA218 and model FA318. The application first provides the menu to allow users can select one of the following tasks per time and when they finish one task, they can continue the application to select other task from the menu until they choose exit. All the output on the screen and in files should be exact as requested SALE FA PRODUCTS 1. Sale Product 2. Ending day sale report 3. Ending month sale report 4. Ending year sale report 0. Exit TASK SALE PRODUCT For each sale transaction: Display the message to ask for input from the keyboard the following information transaction number (string), number of Model FA218 units sold (int), price of mode unit (double), the number of model FA318 (int), the price of model B unit (double) amount of money they customer pays (double) Apply the formula to calculate the charge then print the receipt on the screen Sale model FA218 price of model FA218 number of unit model FA218 sold Sale model FA318 - price of model FA318 * number of unit model FA318 sold Subtotal sale model FA218+sale model FA318 Tax subtotal * 8.25% Total subtotal + tax RECEIPT SALE FA PRODUCT Date: 9/15/2018 Sale Transaction: 1501 Model FA218 (1.99 per unit)23.88 Model FA318 (2.19 per unit) 21.99 45.78 3.78 49.56 50.00 0.44 12 10 Subtotal Total Amount paid Balance

Also, write one line to the output file named SalelnDay_yyyy mm_dd.txt For example, the file SalelnDay_2018 09 15.txt 1501 12 1.99 10 2.19 1502 1503 14 199 14 2.19 1504 1505 13 1.99 16 2.19 1506 11 1.99 10 2.19 1507 1508 1509 12 1.99 15 2.19 1510 15 1.99 18 2.19 8 1.99 12 2.19 1.99 11 2.19 7 1.99 12 2.19 8 1.99 16 2.19 TASK 2: ENDING DAY REPORT At the end of the day, users can select this task to print out the day report Display the message to ask user to type the year, month, day that they want to generate the report in the format mmddyyvy for example 10/15/2018 Split the input day to get yyyy, mm, and dd to form the file name salelnDay yyyy_mm_dd.txt Open input file salelnDay_yvyy_mm_ dd.txt to read (EX: SalelnDay 2018 09_15.txt For each line for one sale transaction, read the line as a string split information of one line into 5 pieces: transaction number, FA218 units, FA218 price, FA318 units and FA318 price Calculate money sold FA218, money sold FA318, add total money sold Read another transaction, do the same -Also, you need to keep up sum of FA218 units, sum of FA318 units, sum of total money sold FA218, sum of total money sold FA318 whole day After the last transaction, you will display the report on the screen as below: SALE REPORT IN DAY: 09/15/2018 Model FA218: Model FA318: Total 216.91 93.46 510.37 109 134 -Also, write one line to the output file for the month sale named: SalelnMonth_vyvy mm.txt For example, inside the file SalelnMonth 2018 09.txt

1 72 143.28 98 214.62 2 85 169.15 106 232.14 3 91 181.09 97 212.43 4 78 170.82 92 210.68 5 87 190.53 10 240.45 6 88 192.72 110 251.90 7 93 175.77 98 204.82 8 85 160.65 96 100.64 9 90 170.10 93 194.37 10 88 175.12 101 221.19 11 76 151.24 105 229.95 12 94 187.06 120 262.80 13 89 177.11 115 251.85 96 191.04 103 225.57 15 109 216.91 134 293.46 79 157.21 112 245.28 17 94 187.06 103 225.57 18 84 167.16 105 229.95 19 76 151.24 122 267.18 20 94 187.06 107 234.33 21 89 177.11 113 247.47 14 92 183.08 108 236.52 23 93 185.07 104 227.76 24 88 175.12 102 223.38 25 94 187.06 116 254.04 26 87 173.13 118 258.42 27 90 179.10 108 236.52 28 29 30 86 171.14 110 240.90 88 175.12 114 249.66 96 191.04 104 227.76 TASK 3: ENDING MONTH REPORT At the end of the month (09/2018), select task 3 to calculate the sale made in the month -Read the month and year from the keyboard -Form the file name SalelnMonth_yyyvy mm.txt Open file SalelnMonth _yyvy_mm.txt that contains the sale made in whole month, Each line is the sale of one day in month -Read line by line to add up the value of 2d column for sum of FA218 units sold in month, 3r column for sum of sale FA218 in month, 4th column Display the month report on the screen SALE REPORT IN 09/2018 Modle FA218: 2651 5299.29 Model FA318: 3219 7051.61 Total: 12350.90 Also, write one line in the output file named SalelnYear_wyy.txt (For example file SalelnYear_2018.txt

1 2777 5526.23 3223 7058.37 22431 4837.69 2612 5720.58 3 2540 5054.60 2729 5976.51 4 2557 5088.43 2892 6333.48 5 2515 5004.85 2249 4925.31 6 2456 4887.44 2828 6193.32 7 2610 5193.90 2839 6217.41 8 2595 5164.05 2875 6296.25 9 2651 5299.29 3219 7051.61 10 24544 4883.46 2803 6138.57 11 2707 5386.93 3295 7216.05 12 2893 5757.07 3522 7713.18 TASK4: ENDING YEAR REPORT Display message to ask for year yyyy, for example 2018 to form the name of input file -open file SalelnYear yvyy.txt Each lines contains the sale in one month Display the year report on the screen SalelnYear_vyyy.txt (SalelnYear_2018.txt) read line by line to add up each columns SALE REPORT IN: 2018 Model FA218: 31186 Model FA318: 35086 Total: 62083.94 76840.34 138924.28 Step1: Cre-ate the pseudo-code (QA2] Step2: Write the code start Virtual Studio C++, create the project FA2018PROJECT LastName, add cpp file FA2018PROJECT_SaleReport_yourLastName.cpp [QA1b] or [QA1d] -follow the pseudo-code and use C++ to write the code of the program Step3: compile and run the program Step4: debug if there is any errors to complete the program Submit on eCampus the source files: 1. FA2018PROJECT SaleReport yourlastName.cpp 2. FA2018PROJECT_LastName.exe 3. Pseudo-code 4. All output files for day, month, year

c++ programming
no use of classes
use of functions
pseudo code with comments

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
c++ programming no use of classes use of functions pseudo code with comments Requirement: Provide one...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • C++ code and also provide comments explaining everything Credit Card Debt The True Cost of Paying...

    C++ code and also provide comments explaining everything Credit Card Debt The True Cost of Paying Minimum Payment Write a C++ program to output the monthly payment schedule for a credit card debt, when each month nothing more is charged to the account but only the minimum payment is paid. The output stops when the balance is fully paid - remaining balance = 0. Input: Data input must be done in a separate function. Input the following: credit card balance,...

  • Java Programming Task #2 String.split and the StringBuilder Class 1. Copy the file secret.txt (Code Listing...

    Java Programming Task #2 String.split and the StringBuilder Class 1. Copy the file secret.txt (Code Listing 9.3) from the Student CD or as directed by your instructor. This file is only one line long. It contains 2 sentences. 2. Write a main method that will read the file secret.txt, separate it into word tokens. 3. You should process the tokens by taking the first letter of every fifth word, starting with the first word in the file. Convert these letters...

  • Using: C# Inventory Management System Objective: Work with multiple objects and reading data files. Description: A...

    Using: C# Inventory Management System Objective: Work with multiple objects and reading data files. Description: A wholesale distributor has six warehouses (Atlanta, Baltimore, Chicago, Denver, Ely and Fargo) and sells five different items (identified by part number: 102, 215, 410, 525 and 711). Each warehouse may stock any or all of the five items. The company buys and sells these items constantly. Company transaction records contain a transaction code (‘P’ for a purchase or ‘S’ for a sale) followed by...

  • Write a program that demonstrates use of programmer - defined data structures. Please provide code! Thank...

    Write a program that demonstrates use of programmer - defined data structures. Please provide code! Thank you. Here are the temps given: January 47 36 February 51 37 March 57 39 April 62 43 May 69 48 June 73 52 July 81 56 August 83 57 September 81 52 October 64 46 November 52 41 December 45 35 Janual line Iranin Note: This program is similar to another recently assigned program, except that it uses struct and an array of...

  • Requirement 4 Complete the cost of Goods Sold schedule. (Always use cell references and formulas where...

    Requirement 4 Complete the cost of Goods Sold schedule. (Always use cell references and formulas where appropriate to receive full credit. All values should be added as positive numbers.) Fremont Troll House Cookies Schedule of Cost of Goods Sold Month Ended March 31, 2018 Cost of Goods Sold HINTS values other than the value for Ending Finished Goods Inventory should be entered as positive values. Use minus sign to enter the value for ing Finished Goods Inventory. Cell | Hint:...

  • Question I This question carries 20% of the marks for this assignment. You are asked to...

    Question I This question carries 20% of the marks for this assignment. You are asked to develop a set of bash shell script: Write a script that asks for the user's salary per month. If it is less or equals to 800, print a message saying that you need to get another job to increase your income, what you earn is the Minim living cost. If the user's salary is higher than 800 and below 2000, print a message telling...

  • I need help with this assignment in C++, please! *** The instructions and programming style detai...

    I need help with this assignment in C++, please! *** The instructions and programming style details are crucial for this assignment! Goal: Your assignment is to write a C+ program to read in a list of phone call records from a file, and output them in a more user-friendly format to the standard output (cout). In so doing, you will practice using the ifstream class, I'O manipulators, and the string class. File format: Here is an example of a file...

  • PLEASE WRITE CODE FOR C++ ! Time Validation, Leap Year and Money Growth PartA: Validate Day and Time Write a program tha...

    PLEASE WRITE CODE FOR C++ ! Time Validation, Leap Year and Money Growth PartA: Validate Day and Time Write a program that reads a values for hour and minute from the input test file timeData.txt . The data read for valid hour and valid minute entries. Assume you are working with a 24 hour time format. Your program should use functions called validateHour and validateMinutes. Below is a sample of the format to use for your output file  timeValidation.txt :   ...

  • Can you solve this proble by using C# application? C# is one of programming languages supported...

    Can you solve this proble by using C# application? C# is one of programming languages supported by Visual Studio 2015. It combines the features of Java and C ++ and is suitbale for rapid application development. A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 4% and the county sales tax rate is 2%. Create an...

  • Please Use C++ Language. Thank you. Please I need the actual code. Donot post psudocode!! ​And...

    Please Use C++ Language. Thank you. Please I need the actual code. Donot post psudocode!! ​And also I have codes but just donot work so make sure that it works. Requested files: CrosswordGenerator.cpp, CrosswordGenerator.h, CrosswordGenerator_test.cpp CrosswordGenerator - Write a program that helps to generate a crossword puzzle by organizing words that share letters.   For this assignment, you will write a program that forms the basis of a crossword puzzle generator. In order to create a crossword puzzle you need to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT