Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Jul 2017 |
Last Sign in: | 307 Weeks Ago, 6 Days Ago |
Questions Answered: | 5023 |
Tutorials Posted: | 5024 |
Â
In the space to the right, draw a flowchart which contains the steps outlined
 in the pseudocode below.
Make sure that your decision structure takes on the shape shown in figure 3-3
on page 91.
Make each input and output item a separate symbol.
---------------------------------------------------------------------------------------------------------------
Pseudocode:
Start
Declarations:
   num monthlySalesAmount
   num commissionEarned
   input monthlySalesAmount
   if monthlySalesAmount is greater than 10000
       commissionEarned = monthlySalesAmount * 0.15
           else
               commissionEarned = monthlySalesAmount * 0.10 Â
   endif
   output "Your sales amount is: ", monthlySalesAmount
   output "You commission is: ", commissionEarned
Stop
Â
THIS HAS TO BE CREATED TO WHERE I CAN PUT THE FLOWCHART INTO THE DIA PROGRAM.Â
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- T-----------han-----------k y-----------ou -----------for----------- yo-----------ur -----------int-----------ere-----------st -----------and----------- bu-----------yin-----------g m-----------y p-----------ost-----------ed -----------sol-----------uti-----------on.----------- Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m o-----------nli-----------ne -----------or -----------inb-----------ox -----------me -----------a m-----------ess-----------age----------- I -----------wil-----------l b-----------e q-----------uic-----------kly-----------