Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help me to solve this problem. this is the description: this is the input file: this is the output: Description: Abdul Latif Jameel (ALJ)

please help me to solve this problem.

this is the description:

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

this is the input file:

image text in transcribed

this is the output:

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Description: Abdul Latif Jameel (ALJ) - Toyota is one of the leading entities in the automotive sector in the Saudi Arabia Management of Toyota at AU wants to automate their Sales Analysis Process. For initial test of the system, management wants to automate their business for THREE cities and later to target all cities. System must automatically generate different sales report based on the command mentioned in the input file. Basic Requirements - The program must read the data from a text file called "input.txt" that follows a specific pattern. If the file doesn't exist, print a message to let the user know what happened.- see Input file for more details. - The program must generate a text file as the output called "print.txt" that contains the results of the commands written in the input file-see print file for more details. The program must load data dynamically from the given text file "input.txt" and user is not involved in data entry. * Toyota Sales Analysis App must store the following data: City name [Jeddah, Makkah, Madina]. Branch name for Each City Month name. Sales figure for all branches of each city. The Initial Procedure of the Program: You will use File I/O to read input from a given input file [input.txt]. Make sure the file exist or display a message that the file does not exist. The file consists of: 5 integers to determine array size for Cities, Total Branches for Each City, Months and Sale records [see input.txt file]: " The first number (3) in the file refers to the number of Cities to be stored in the System [means, system will accept ONLY THREE Cities name i.e. (Jeddah, Makkah, Madina )] V The second number (6) refers to the number of Branches in First City I means system will accept ONLY 6 branches name for city "Jeddah"] The third number (5) refers to the number of Branches in Second City I means system will accept ONLY 5 branches name for city "Makkah"] The fourth number (3) refers to the number of Branches in Third City I means system will accept ONLY 3 branches name for city "Madina"] The fifth number (12) refers to the number of months I means system will accept sales figure for All 12 months] WS Add_City - Your program must read City name and store in an array to be used in the system. [see input.txt] Add City Jeddah Makkah Madina In above line Add_City is a command & Jeddah,Makkah,Madina are cities name. Add_City_Branch- Your program must read branch name of each city and store in an array to be used in the system. [see input.txt] Add_City_Branch Al_Woroud Al Hindawiya As_Sinaiya Obhour_Al _Janobiya Al_Jamaa As_Sulaimaniya Misfalah Al_Hindawiyyah Al_Ghassalah Al_Nakheel Al_Iskan Wadi_Noor Quba_Road Madina_Highway In above line Add_ City_Branch is a command and Al Woroud Al Hindawiya As_Sinaiya etc are branches name for city Jeddah similarly, Misfalah Al_Hindawiyyah Al_Ghassalah etc are branches name for city Makkah and Wadi_Noor Quba_Road etc. are branches name for city Madina Add_Month- Your program must read month name and store in an array to be used in the system. [see input.txt] Add_Month January February March April May June July August September October November December In above line Add_Month is a command and January, February etc. are month name Add-sales-Your program must read sales data and store in an array to be used in the system. [see input.txt] Add Sales 10000 20000 30000 15000 16000 29000 37000 95000 40000 70000 80000 35000 In above line Add Sales is a command and [first row] 10000 20000 30000 15000 16000 29000 370o0 95000 40000 70000 80000 35000 are sales data for City Jeddah, Branch Al_Woroud and for Months January, Feb, March.. etc. [see figure Note: First Six Rows are for city jeddah and next five rows are for city Makkah and last three rows are for city Madina. [see input.txt /figure 1land Think] Print_Total Sales_Branch- Your program must automatically calculate and generate report based on Branch wise Total sale for each city and store the result in the output file. [see print.txt] Print_Total_Sales_Month- Your program must automatically calculate and generate report based on Monthly Total sale for each city and store the result in the output file. [see print.txt] Print_Max Sale Brach- Your program must automatically calculate and generate Branch wise Maximum sale report for each city and store the result in the output file. [see print.txt] Print_Max_Sale_Month- Your program must automatically calculate and generate Monthly Maximum sale report for each city and store the result in the output file. [see print.txt] Print_Average_Sales_Branch- Your program must automatically calculate and generate Branch wise Average sale report for each city and store the result in the output file. [see print.txt] Print_Average_Sales_Month- Your program must automatically calculate and generate Monthly Average sale for each city and store the result in the output file. [see print.txt] ery Important Note: [YOU MUST GENERATE EXACTLY SAME OUTPUT FILE AS GIVEN TO YOU (PRINT.TXT)] The Data Creation for the Program: Create a Single Dimension array to store City name and create a method that read city name from input.txt file and store in array // String array for the city name Create a Single Dimension array to store month name and create a method that read month name from input.bxt file and store in array. o II String array for the month name. Create a Two Dimension array to store branch name for each city and create a method that read branch name from input.bxt file and store in array. o II String array for all branch name for each city. Create a 3-Dimentional array to store sales data of each branch for all cities and create a method that read sales data from input.tt file and store in array. I/ integer array for the sales data for each branch of all cities. o The 3- Dimensional array virtually link City array and branch array. You will use the 3 D array to store sales record for all branches of each city. So, this 3 Dimensional array should have different rows and columns based on the total branches in the city. Figure 1 and figure 2 illustrate the structure of the 3D array MONTH Branch 77O00 0 950000 5000 21800 9800 730300 301050 302600 308130 323170 176870 296640 302560383420 348480 356400 418820 415120 501750 50433.3 | 51355.0 | 53861.7 | 29478.349440.0 | 50443.3 63903.3 | 58080.0 | 59400.0 69803.3 | 69186.7 93000 76500 93200 75300 52200 79000 93000 95000 82000 71100 94320 8S000 Figure 1. Sales data and analysis for city Jeddah all branches A 3 Dimension view Zoom 200 % for clear view Month[3 Month 6 Month 81 Month 1 Month Branch [o) Branch [1] Branch Branch Branch 4 Branch Month[3 S1 Month[6 81 Month I Month Branch Branch Branch2 Branch Branch Month 3 Month[6 101 Month Branch Branch [1) Branch Figure 2. the structure of the 3D array (Zoom 200 % for clear view) city[2] city[1] city[0] Figure 3 The structure of the 3D array Three Dimensional Array 6 5 3 12 Add_City Jeddah Makkah Madina Add City Branch Al Woroud Al Hindawiya As Sinaiya Obhour Al Janobiya Al Jamaa As Sulaimaniva Misfalah Al Hindawiyyah Al GhassalahAl Nakheel Al Iskan Wadi Noor OubaRoad Madina Highway Add Month January February March April May June July August September October November December Add Sales 10000 20000 30000 15000 16000 29000 37000 95000 40000 70000 80000 35000 17000 29000 33000 75000 26000 79000 43000 55000 82000 59000 73000 85000 93000 62000 72000 47000 38000 4100093000 57000 52000 43000 33000 71000 47800 52100 93200 73200 21800 51900 18400 39100 53700 71100 72500 64300 79800 76500 45400 37670 22870 53440 67560 72320 46780 58300 94320 75420 53450 63000 34530 75300 52200 42300 43700 65000 74000 55000 66000 84400 57000 35900 74000 63000 28000 59000 83000 45000 92000 32400 79800 84500 65600 56200 33000 74000 67000 84000 48000 77000 47000 54000 65000 95000 77800 65100 93200 73200 21800 11900 32100 56700 85300 98000 72500 6430 97800 65400 45400 37670 22870 53440 67560 72320 46780 5830094320 75420 76450 54000 34530 75300 52200 42300 43700 65000 74000 55000 66000 84400 54500 32300 77600 45000 8600098000 23000 55000 82000 69000 88000 45000 95000 62000 52000 47000 38000 39000 99000 67000 48000 49000 73000 81000 88800 95210 43200 53200 71800 57900 19400 29100 55700 61100 82500 69300 Print Total Sales Branch Print Total Sales Month Print Max Sale Branch Print Max Sale Month Print Average Sales Branch Print_Average_Sales_Month Quit vielcome to Toyota Sales Analysis App! COMMAND: ADD CITY *Following City names are recorded in the system - Toyota Car Sale App - **8 City Names: JEDDAH MAKKAH MADINA COMMAND: ADD BRANCH *Following branch names are recorded in the system- Toyota Sales Analysis App -*** JEDDAH MAKKAH MADINA AL WOROUD AL HINDAWIYA AS_SINAIYA AL HINDAWIYYAH AL_GHASSALAH AL_NAKHEEL QUBA_ROAD OBHOUR_AL JANOBIYA AL_JAMAA AS SULAIMANIYA MISFALAH AL_ISKAIN WIADI NOOR MADINA HIGHWAY COMMAND: ADD MONTH ***Following month names are recorded in the system Toyota Sales Analysis App - Month Names: JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER, COMMAND: ADD SALES *Following Sales Figures are recorded in the system Toyota Sales Analysis App ** ***For the City Jeddah*** Branch( A1_Woroud) January) 10000 Month( Month February): 20000 Month( Month( Month( Month( Month( Month( Month September): 40000 Month( Month November) 80000 Month December): 35000 March): 30000 April): 15000 May) 16000 June) 29000 uly) 37000 August) 95000 October): 70000 Branch Al_Hindawiya) January) 17000 Month( Month February): 29000 Month( Month( Month( Month( Month( Month( Month September): 82000 Month( Month November) 73000 Month December): 85000 March): 33000 April): 75000 May) 26000 June): 79000 July) 43000 August): 55000 October) 59000 Branch( As_Sinaiya) Month( Month February) 62000 Month( January): 93000 March) 72000 Month( Month( Month( Month( Month( Month MonthSeptember): 52000 Month( Month November): 33000 Month December) 71000 March): 72000 April): 47000 May) 38000 June): 41000 July) 93000 August) 57000 October) 43000 Branch Obhour_A1_Janobiya) Month( Month Month( Month( Month( Month( Month( Month( MonthSeptember): 53700 Month( Month November): 72500 Month December) 64300 January) 47800 February): 52100 March): 93200 April): 73200 May) 21800 June): 51900 July) 18400 August) 39100 October) 71100 Branch( Al_Jamaa ) Month( Month Month( Month Month( Month Month( Month MonthSeptember) 46780 Month Month November) 94320 Month December) 75420 January) 79800 February) 76500 March): 45400 April): 37670 May 22870 June): 53440 July) 67560 August) 72320 October) 58300 Branch As_Sulaimaniya) Month( Month February) 63000 Month( Month( Month( Month Month( Month( MonthSeptember) 74000 Month Month November) 66000 Month December) 84400 January) 53450 March): 34530 April): 75300 May) 52200 June): 42300 July) 43700 August) 65000 October) 55000 ***For the City Makkah*** Branch Misfalah) January) 57000 February): 35900 March) 74000 April): 63000 May) 28000 June): 59000 July) 83000 August) 45000 MonthSeptember) 92000 October) 32400 November): 79800 Month( Month Month( Month Month( Month Month( Month Month Month (December): 84500 Branch( Al_Hindawiyyah) Month( Month Month( Month( Month( Month( Month( Month( MonthSeptember) 47000 Month( Month November) 65000 Month December) 95000 January) 65600 February) 56200 March): 33000 April): 74000 May 67000 June): 84000 July) 48000 August) 77000 October) 54000 Branch Al Ghassalah) Month( Month Month( Month( Month( Month( Month( Month( MonthSeptember) 85300 Month( Month November): 72500 Month December) 64300 January) 7780 February): 65100 March): 93200 April): 73200 May) 21800 June) 11900 July) 32100 August) 56700 October): 98000 Branch Al_Nakheel) Month( Month February 65400 Month( Month( Month( Month Month( Month( MonthSeptember) 46780 Month Month November) 94320 Month December) 75420 January) 97800 March): 45400 April): 37670 May 22870 June): 53440 July) 67560 August) 72320 October) 58300 Branch Al_Iskan) Month( Month February): Month( Month Month( Month Month( Month MonthSeptember) 74000 Month Month November) 66000 Month December) 84400 January) 76450 March): 34530 April): 75300 May) 52200 June): 42300 July) 43700 August) 65000 October) 55000 ***For the City Madina*** Branch Wadi_Noor) Month( Month Month( Month Month( Month January) 54500 February): 32300 March): 77600 April): 45000 May) 86000 June): 98000 COMMAND: PRINT TOTAL SALES MONTH *Following is Monthly Sales Figures recorded in the system Toyota Sales Analysis App - Total Sales Figures For the City Jeddah 301050 SR) MonthFebruary(302600 SR) March(308130 SR) April:(323170 SR) May(176870 SR) June(296640 SR) July(302660 SR) August (383420 SR) Month September(348480 SR) MonthOctober(356400 SR) Month November(418820 SR) r(415120 SR) Month January Month: Month Month: nth Month: Month Month December Total Sales Figures For the City Makkah Month January(374650 SR) MonthFebruary(276600 SR) Month: Month Month: Month: Month: Month Month September(345080 SR) MonthOctober(297700 SR) Month November(377620 SR) Month December(403620 SR) March(280130 SR) April:(323170 SR) May(191870 SR) June(250640 SR) July (274360 SR) August (316020 SR) Total Sales Figures For the City Madina (238300 SR) MonthFebruary(189510 SR) March(172800 SR) April:(145200 SR) May(195800 SR) June(194900 SR) July (141400 SR) August (151100 SR) Month September(185700 SR) Month October(179100 SR) Month November(243500 SR) (195300 SR) Month January Month: nth Month: nth Month: Month: Month December COMMAND: PRINT MAX SALE BRANCH Following Max Sales Figures for Branches recorded in the system - Toyota Sales Analysis App - Max Sales Figures For the City: Jeddah (95000 SR) for the month Al _ioroud: A1 Hindawiya: As_Sinaiya: Obhour_A1_Janobiya: Al Jamaa: As_Sulaimaniya: AUGUST 85000 SR) for the month DECEMBER DANUARY MARCH NOVEMBER 84400 SR) for the month DECEMBER 93000 SR) for the month 93200 SR) for the month 94320 SR) for the month Max Sales Figures For the City Makkah 92000 SR) for the month SEPTEMBER 95000 SR) for the month DECEMBER 98000 SR) for the month 97800 SR) for the month 84400 SR) for the month DECEMBER A1_Hindawiyyah: Al Ghassalah: OCTOBER JANUARY A1_Nakheel: Max Sales Figures For the City: Madina Wadi_Noor: Quba_Road: Madina_Highway: 98000 SR) for the month 99000 SR) for the month 95210 SR) for the month FEBRUARY JULY COMMAND: PRINT MAX SALE MONTH *Following Max Sales Figures for Months recorded in the system Toyota Sales Analysis App Max Sales Figures For the City: Jeddah Month: Month: Month: Month: Month: Month: January 93000 SR) for the branch February 76500 SR) for the branch March (93200 SR) for the branch April (75300 SR) for the branch May 52200 SR) for the branch June 79000 SR) for the branch July 93000 SR) for the branch August 95000 SR) for the branch September 82000 SR) for the branch October 71100 SR) for the branch November94320 SR) for the branch December 85000 SR) for the branch AS SINAIYA OBHOUR_AL_JANOBIYA AS SULAIMANIYA AS SULAIMANIYA AL HINDAWIYA AS SINAIYA AL WOROUD AL HINDAWIYA OBHOUR_AL_JANOBIYA AL HINDAWIYA Max Sales Figures For the City: Makkah Month: Month: Month: Month: Month: Month: January 97800 SR) for the branch February 65400 SR) for the branch March 93200 SR) for the branch April (75300 SR) for the branch May 67000 SR) for the branch June 84000 SR) for the branch July 83000 SR) for the branch August 77000 SR) for the branch September 92000 SR) for the branch October 98000 SR) for the branch November94320 SR) for the branch December 95000 SR) for the branch AL_NAKHEEL AL NAKHEEL AL GHASSALAH AL HINDAWIYYAH AL HINDAWIYYAH MISFALAH AL HINDANIYYAH MISFALAH AL GHASSALAH AL NAKHEEL Max Sales Figures For the City : Madina Month: Month: Month: Month: Month: Month: January 95000 SR) for the branch February 95210 SR) for the branch March (77600 SR) for the branch April (53200 SR) for the branch May 86000 SR) for the branch June 98000 SR) for the branch July 99000 SR) for the branch August 67000 SR) for the branch September 82000 SR) for the branch October 69000 SR) for the branch November 88000 SR) for the branch December 81000 SR) for the branch QUBA ROAD MADINA HIGHWAY MADINA HIGHWAY QUBA ROAD QUBA ROAD COMMAND: PRINT_AVERAGE_SALES_BRANCH **Following Average Sales Figures based on Branches recorded in the system - Toyota Sales Analysis App- Description: Abdul Latif Jameel (ALJ) - Toyota is one of the leading entities in the automotive sector in the Saudi Arabia Management of Toyota at AU wants to automate their Sales Analysis Process. For initial test of the system, management wants to automate their business for THREE cities and later to target all cities. System must automatically generate different sales report based on the command mentioned in the input file. Basic Requirements - The program must read the data from a text file called "input.txt" that follows a specific pattern. If the file doesn't exist, print a message to let the user know what happened.- see Input file for more details. - The program must generate a text file as the output called "print.txt" that contains the results of the commands written in the input file-see print file for more details. The program must load data dynamically from the given text file "input.txt" and user is not involved in data entry. * Toyota Sales Analysis App must store the following data: City name [Jeddah, Makkah, Madina]. Branch name for Each City Month name. Sales figure for all branches of each city. The Initial Procedure of the Program: You will use File I/O to read input from a given input file [input.txt]. Make sure the file exist or display a message that the file does not exist. The file consists of: 5 integers to determine array size for Cities, Total Branches for Each City, Months and Sale records [see input.txt file]: " The first number (3) in the file refers to the number of Cities to be stored in the System [means, system will accept ONLY THREE Cities name i.e. (Jeddah, Makkah, Madina )] V The second number (6) refers to the number of Branches in First City I means system will accept ONLY 6 branches name for city "Jeddah"] The third number (5) refers to the number of Branches in Second City I means system will accept ONLY 5 branches name for city "Makkah"] The fourth number (3) refers to the number of Branches in Third City I means system will accept ONLY 3 branches name for city "Madina"] The fifth number (12) refers to the number of months I means system will accept sales figure for All 12 months] WS Add_City - Your program must read City name and store in an array to be used in the system. [see input.txt] Add City Jeddah Makkah Madina In above line Add_City is a command & Jeddah,Makkah,Madina are cities name. Add_City_Branch- Your program must read branch name of each city and store in an array to be used in the system. [see input.txt] Add_City_Branch Al_Woroud Al Hindawiya As_Sinaiya Obhour_Al _Janobiya Al_Jamaa As_Sulaimaniya Misfalah Al_Hindawiyyah Al_Ghassalah Al_Nakheel Al_Iskan Wadi_Noor Quba_Road Madina_Highway In above line Add_ City_Branch is a command and Al Woroud Al Hindawiya As_Sinaiya etc are branches name for city Jeddah similarly, Misfalah Al_Hindawiyyah Al_Ghassalah etc are branches name for city Makkah and Wadi_Noor Quba_Road etc. are branches name for city Madina Add_Month- Your program must read month name and store in an array to be used in the system. [see input.txt] Add_Month January February March April May June July August September October November December In above line Add_Month is a command and January, February etc. are month name Add-sales-Your program must read sales data and store in an array to be used in the system. [see input.txt] Add Sales 10000 20000 30000 15000 16000 29000 37000 95000 40000 70000 80000 35000 In above line Add Sales is a command and [first row] 10000 20000 30000 15000 16000 29000 370o0 95000 40000 70000 80000 35000 are sales data for City Jeddah, Branch Al_Woroud and for Months January, Feb, March.. etc. [see figure Note: First Six Rows are for city jeddah and next five rows are for city Makkah and last three rows are for city Madina. [see input.txt /figure 1land Think] Print_Total Sales_Branch- Your program must automatically calculate and generate report based on Branch wise Total sale for each city and store the result in the output file. [see print.txt] Print_Total_Sales_Month- Your program must automatically calculate and generate report based on Monthly Total sale for each city and store the result in the output file. [see print.txt] Print_Max Sale Brach- Your program must automatically calculate and generate Branch wise Maximum sale report for each city and store the result in the output file. [see print.txt] Print_Max_Sale_Month- Your program must automatically calculate and generate Monthly Maximum sale report for each city and store the result in the output file. [see print.txt] Print_Average_Sales_Branch- Your program must automatically calculate and generate Branch wise Average sale report for each city and store the result in the output file. [see print.txt] Print_Average_Sales_Month- Your program must automatically calculate and generate Monthly Average sale for each city and store the result in the output file. [see print.txt] ery Important Note: [YOU MUST GENERATE EXACTLY SAME OUTPUT FILE AS GIVEN TO YOU (PRINT.TXT)] The Data Creation for the Program: Create a Single Dimension array to store City name and create a method that read city name from input.txt file and store in array // String array for the city name Create a Single Dimension array to store month name and create a method that read month name from input.bxt file and store in array. o II String array for the month name. Create a Two Dimension array to store branch name for each city and create a method that read branch name from input.bxt file and store in array. o II String array for all branch name for each city. Create a 3-Dimentional array to store sales data of each branch for all cities and create a method that read sales data from input.tt file and store in array. I/ integer array for the sales data for each branch of all cities. o The 3- Dimensional array virtually link City array and branch array. You will use the 3 D array to store sales record for all branches of each city. So, this 3 Dimensional array should have different rows and columns based on the total branches in the city. Figure 1 and figure 2 illustrate the structure of the 3D array MONTH Branch 77O00 0 950000 5000 21800 9800 730300 301050 302600 308130 323170 176870 296640 302560383420 348480 356400 418820 415120 501750 50433.3 | 51355.0 | 53861.7 | 29478.349440.0 | 50443.3 63903.3 | 58080.0 | 59400.0 69803.3 | 69186.7 93000 76500 93200 75300 52200 79000 93000 95000 82000 71100 94320 8S000 Figure 1. Sales data and analysis for city Jeddah all branches A 3 Dimension view Zoom 200 % for clear view Month[3 Month 6 Month 81 Month 1 Month Branch [o) Branch [1] Branch Branch Branch 4 Branch Month[3 S1 Month[6 81 Month I Month Branch Branch Branch2 Branch Branch Month 3 Month[6 101 Month Branch Branch [1) Branch Figure 2. the structure of the 3D array (Zoom 200 % for clear view) city[2] city[1] city[0] Figure 3 The structure of the 3D array Three Dimensional Array 6 5 3 12 Add_City Jeddah Makkah Madina Add City Branch Al Woroud Al Hindawiya As Sinaiya Obhour Al Janobiya Al Jamaa As Sulaimaniva Misfalah Al Hindawiyyah Al GhassalahAl Nakheel Al Iskan Wadi Noor OubaRoad Madina Highway Add Month January February March April May June July August September October November December Add Sales 10000 20000 30000 15000 16000 29000 37000 95000 40000 70000 80000 35000 17000 29000 33000 75000 26000 79000 43000 55000 82000 59000 73000 85000 93000 62000 72000 47000 38000 4100093000 57000 52000 43000 33000 71000 47800 52100 93200 73200 21800 51900 18400 39100 53700 71100 72500 64300 79800 76500 45400 37670 22870 53440 67560 72320 46780 58300 94320 75420 53450 63000 34530 75300 52200 42300 43700 65000 74000 55000 66000 84400 57000 35900 74000 63000 28000 59000 83000 45000 92000 32400 79800 84500 65600 56200 33000 74000 67000 84000 48000 77000 47000 54000 65000 95000 77800 65100 93200 73200 21800 11900 32100 56700 85300 98000 72500 6430 97800 65400 45400 37670 22870 53440 67560 72320 46780 5830094320 75420 76450 54000 34530 75300 52200 42300 43700 65000 74000 55000 66000 84400 54500 32300 77600 45000 8600098000 23000 55000 82000 69000 88000 45000 95000 62000 52000 47000 38000 39000 99000 67000 48000 49000 73000 81000 88800 95210 43200 53200 71800 57900 19400 29100 55700 61100 82500 69300 Print Total Sales Branch Print Total Sales Month Print Max Sale Branch Print Max Sale Month Print Average Sales Branch Print_Average_Sales_Month Quit vielcome to Toyota Sales Analysis App! COMMAND: ADD CITY *Following City names are recorded in the system - Toyota Car Sale App - **8 City Names: JEDDAH MAKKAH MADINA COMMAND: ADD BRANCH *Following branch names are recorded in the system- Toyota Sales Analysis App -*** JEDDAH MAKKAH MADINA AL WOROUD AL HINDAWIYA AS_SINAIYA AL HINDAWIYYAH AL_GHASSALAH AL_NAKHEEL QUBA_ROAD OBHOUR_AL JANOBIYA AL_JAMAA AS SULAIMANIYA MISFALAH AL_ISKAIN WIADI NOOR MADINA HIGHWAY COMMAND: ADD MONTH ***Following month names are recorded in the system Toyota Sales Analysis App - Month Names: JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER, COMMAND: ADD SALES *Following Sales Figures are recorded in the system Toyota Sales Analysis App ** ***For the City Jeddah*** Branch( A1_Woroud) January) 10000 Month( Month February): 20000 Month( Month( Month( Month( Month( Month( Month September): 40000 Month( Month November) 80000 Month December): 35000 March): 30000 April): 15000 May) 16000 June) 29000 uly) 37000 August) 95000 October): 70000 Branch Al_Hindawiya) January) 17000 Month( Month February): 29000 Month( Month( Month( Month( Month( Month( Month September): 82000 Month( Month November) 73000 Month December): 85000 March): 33000 April): 75000 May) 26000 June): 79000 July) 43000 August): 55000 October) 59000 Branch( As_Sinaiya) Month( Month February) 62000 Month( January): 93000 March) 72000 Month( Month( Month( Month( Month( Month MonthSeptember): 52000 Month( Month November): 33000 Month December) 71000 March): 72000 April): 47000 May) 38000 June): 41000 July) 93000 August) 57000 October) 43000 Branch Obhour_A1_Janobiya) Month( Month Month( Month( Month( Month( Month( Month( MonthSeptember): 53700 Month( Month November): 72500 Month December) 64300 January) 47800 February): 52100 March): 93200 April): 73200 May) 21800 June): 51900 July) 18400 August) 39100 October) 71100 Branch( Al_Jamaa ) Month( Month Month( Month Month( Month Month( Month MonthSeptember) 46780 Month Month November) 94320 Month December) 75420 January) 79800 February) 76500 March): 45400 April): 37670 May 22870 June): 53440 July) 67560 August) 72320 October) 58300 Branch As_Sulaimaniya) Month( Month February) 63000 Month( Month( Month( Month Month( Month( MonthSeptember) 74000 Month Month November) 66000 Month December) 84400 January) 53450 March): 34530 April): 75300 May) 52200 June): 42300 July) 43700 August) 65000 October) 55000 ***For the City Makkah*** Branch Misfalah) January) 57000 February): 35900 March) 74000 April): 63000 May) 28000 June): 59000 July) 83000 August) 45000 MonthSeptember) 92000 October) 32400 November): 79800 Month( Month Month( Month Month( Month Month( Month Month Month (December): 84500 Branch( Al_Hindawiyyah) Month( Month Month( Month( Month( Month( Month( Month( MonthSeptember) 47000 Month( Month November) 65000 Month December) 95000 January) 65600 February) 56200 March): 33000 April): 74000 May 67000 June): 84000 July) 48000 August) 77000 October) 54000 Branch Al Ghassalah) Month( Month Month( Month( Month( Month( Month( Month( MonthSeptember) 85300 Month( Month November): 72500 Month December) 64300 January) 7780 February): 65100 March): 93200 April): 73200 May) 21800 June) 11900 July) 32100 August) 56700 October): 98000 Branch Al_Nakheel) Month( Month February 65400 Month( Month( Month( Month Month( Month( MonthSeptember) 46780 Month Month November) 94320 Month December) 75420 January) 97800 March): 45400 April): 37670 May 22870 June): 53440 July) 67560 August) 72320 October) 58300 Branch Al_Iskan) Month( Month February): Month( Month Month( Month Month( Month MonthSeptember) 74000 Month Month November) 66000 Month December) 84400 January) 76450 March): 34530 April): 75300 May) 52200 June): 42300 July) 43700 August) 65000 October) 55000 ***For the City Madina*** Branch Wadi_Noor) Month( Month Month( Month Month( Month January) 54500 February): 32300 March): 77600 April): 45000 May) 86000 June): 98000 COMMAND: PRINT TOTAL SALES MONTH *Following is Monthly Sales Figures recorded in the system Toyota Sales Analysis App - Total Sales Figures For the City Jeddah 301050 SR) MonthFebruary(302600 SR) March(308130 SR) April:(323170 SR) May(176870 SR) June(296640 SR) July(302660 SR) August (383420 SR) Month September(348480 SR) MonthOctober(356400 SR) Month November(418820 SR) r(415120 SR) Month January Month: Month Month: nth Month: Month Month December Total Sales Figures For the City Makkah Month January(374650 SR) MonthFebruary(276600 SR) Month: Month Month: Month: Month: Month Month September(345080 SR) MonthOctober(297700 SR) Month November(377620 SR) Month December(403620 SR) March(280130 SR) April:(323170 SR) May(191870 SR) June(250640 SR) July (274360 SR) August (316020 SR) Total Sales Figures For the City Madina (238300 SR) MonthFebruary(189510 SR) March(172800 SR) April:(145200 SR) May(195800 SR) June(194900 SR) July (141400 SR) August (151100 SR) Month September(185700 SR) Month October(179100 SR) Month November(243500 SR) (195300 SR) Month January Month: nth Month: nth Month: Month: Month December COMMAND: PRINT MAX SALE BRANCH Following Max Sales Figures for Branches recorded in the system - Toyota Sales Analysis App - Max Sales Figures For the City: Jeddah (95000 SR) for the month Al _ioroud: A1 Hindawiya: As_Sinaiya: Obhour_A1_Janobiya: Al Jamaa: As_Sulaimaniya: AUGUST 85000 SR) for the month DECEMBER DANUARY MARCH NOVEMBER 84400 SR) for the month DECEMBER 93000 SR) for the month 93200 SR) for the month 94320 SR) for the month Max Sales Figures For the City Makkah 92000 SR) for the month SEPTEMBER 95000 SR) for the month DECEMBER 98000 SR) for the month 97800 SR) for the month 84400 SR) for the month DECEMBER A1_Hindawiyyah: Al Ghassalah: OCTOBER JANUARY A1_Nakheel: Max Sales Figures For the City: Madina Wadi_Noor: Quba_Road: Madina_Highway: 98000 SR) for the month 99000 SR) for the month 95210 SR) for the month FEBRUARY JULY COMMAND: PRINT MAX SALE MONTH *Following Max Sales Figures for Months recorded in the system Toyota Sales Analysis App Max Sales Figures For the City: Jeddah Month: Month: Month: Month: Month: Month: January 93000 SR) for the branch February 76500 SR) for the branch March (93200 SR) for the branch April (75300 SR) for the branch May 52200 SR) for the branch June 79000 SR) for the branch July 93000 SR) for the branch August 95000 SR) for the branch September 82000 SR) for the branch October 71100 SR) for the branch November94320 SR) for the branch December 85000 SR) for the branch AS SINAIYA OBHOUR_AL_JANOBIYA AS SULAIMANIYA AS SULAIMANIYA AL HINDAWIYA AS SINAIYA AL WOROUD AL HINDAWIYA OBHOUR_AL_JANOBIYA AL HINDAWIYA Max Sales Figures For the City: Makkah Month: Month: Month: Month: Month: Month: January 97800 SR) for the branch February 65400 SR) for the branch March 93200 SR) for the branch April (75300 SR) for the branch May 67000 SR) for the branch June 84000 SR) for the branch July 83000 SR) for the branch August 77000 SR) for the branch September 92000 SR) for the branch October 98000 SR) for the branch November94320 SR) for the branch December 95000 SR) for the branch AL_NAKHEEL AL NAKHEEL AL GHASSALAH AL HINDAWIYYAH AL HINDAWIYYAH MISFALAH AL HINDANIYYAH MISFALAH AL GHASSALAH AL NAKHEEL Max Sales Figures For the City : Madina Month: Month: Month: Month: Month: Month: January 95000 SR) for the branch February 95210 SR) for the branch March (77600 SR) for the branch April (53200 SR) for the branch May 86000 SR) for the branch June 98000 SR) for the branch July 99000 SR) for the branch August 67000 SR) for the branch September 82000 SR) for the branch October 69000 SR) for the branch November 88000 SR) for the branch December 81000 SR) for the branch QUBA ROAD MADINA HIGHWAY MADINA HIGHWAY QUBA ROAD QUBA ROAD COMMAND: PRINT_AVERAGE_SALES_BRANCH **Following Average Sales Figures based on Branches recorded in the system - Toyota Sales Analysis App

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started