Top Posters
Since Sunday
s
1
r
1
D
1
g
1
g
1
1
Search Resources
  Resource NameRatingViews
Solutions | Approved: 7 years ago | 110 kB | Comments: 0
Category: Computer Science | Downloaded: 1
...Name Purpose Real monthlySales Stores the monthly...
...variables Declare Real monthlySales //Function calls Call...
...//Function calls Call getSales(monthlySales) Call isBonus(monthlySales) Call...
...Call getSales(monthlySales) Call isBonus(monthlySales) Call isDayoff(monthlySales) End...
...Call isBonus(monthlySales) Call isDayoff(monthlySales) End Module //this...
...Module getSales(Real Ref monthlySales) Display “Enter the...
...the month.” Input monthlySales End Module //this...
...awarded Module isBonus(Real monthlySales) If monthlySales >=100000...
...isBonus(Real monthlySales) If monthlySales >=100000 Then Print...
...off. Module isDayoff(Real monthlySales) If monthlySales >=...
...isDayoff(Real monthlySales) If monthlySales >= 112500 Then...
...to the program' monthlySales = getSales() #...
...to determine bonus isBonus(monthlySales) #Function call to...
...determine day off isDayoff(monthlySales) #This function gets...
...sales def getSales(): monthlySales = input('Enter the...
...monthly sales $') monthlySales = float(monthlySales) return...
...$') monthlySales = float(monthlySales) return monthlySales #This...
...= float(monthlySales) return monthlySales #This function determines...
...a bonus def isBonus(monthlySales): if monthlySales >=...
...def isBonus(monthlySales): if monthlySales >= 100000: print...
...day off def isDayoff(monthlySales): if monthlySales >=...
...def isDayoff(monthlySales): if monthlySales >= 112500: print...
1
957
Explore
Post your homework questions and get free online help from our incredible volunteers
  592 People Browsing
Show Emoticons
:):(;):P:D:|:O:?:nerd:8o:glasses::-):-(:-*O:-D>:-D:o):idea::important::help::error::warning::favorite:
Your Opinion
Where do you get your textbooks?
Votes: 733