I need a hierarchy chart drawn of this flowchart please someone help
Extracted text: This program will input a salesperson's name followed by the first sale amount and then the number of sales as indicated below for a used car dealership. Use a while loop to process the salespersons. Salespersons may have a different number of sales. Use a for loop to process the sales for each salesperson. The range for valid sales amounts is $1 through $25000. After all the sales have been entered for a salesperson, three results will be displayed: average sale amount; highest sale; and lowest sale. Use a function to process each salesperson and display their results using dollars and cents including a dollar sign. At the end of the program, display the total number of salespersons (it might not always be 4 as shown in the test data). Study the Runner's Times example problem in the Homework 5 folder. It contains both logic diagrams and the matching Python program which illustrate concepts you will find very useful for solving this problem. Using the following test data for salespersons, calculate the average, highest, and lowest sales for each.
25000: Printt"ERROR: the sale cannot be less than 0 or greater than 25000.") First_sale floatinputt"Ple ase enter a Total_sales- first_sale Lowest sale- first_sale Highest_sale- first_sale correct sales amount: ") Print('How many sales does, name, have?) Number_of_sal es-intinput) Print('Enter,na me"sales r+ strinumber + ) Sale For number in range(2,number_of_sale s+1): true floatinputl,) false Print('Errorthe sale cannot be While safeco or true less than O or Average_sale floatitotal_sales/ number of sales safe>2500: greater than 25000 false Safe-floatinput ("Please enter a Total_sales + sale correct sale Printiname-"s amount: ") average sale was: S,highest sale was: S"). Formatjaverage_sale, If sale>highest sale true Highest sale sale return Elif saleclowest sale true Lowest sale sale "/>
Extracted text: Process salesperson) Name_inputt" What is thesalesperson "s name? Print'Enter, name s amount for first sale: ". first sale-floa tinput) hile first_ sale, or first sale> 25000: Printt"ERROR: the sale cannot be less than 0 or greater than 25000.") First_sale floatinputt"Ple ase enter a Total_sales- first_sale Lowest sale- first_sale Highest_sale- first_sale correct sales amount: ") Print('How many sales does, name, have?) Number_of_sal es-intinput) Print('Enter,na me"sales r+ strinumber + ) Sale For number in range(2,number_of_sale s+1): true floatinputl,) false Print('Errorthe sale cannot be While safeco or true less than O or Average_sale floatitotal_sales/ number of sales safe>2500: greater than 25000 false Safe-floatinput ("Please enter a Total_sales + sale correct sale Printiname-"s amount: ") average sale was: S,highest sale was: S"). Formatjaverage_sale, If sale>highest sale true Highest sale sale return Elif saleclowest sale true Lowest sale sale