× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
New Topic  
ian18 ian18
wrote...
Posts: 223
Rep: 0 0
5 years ago
What will be displayed after code corresponding to the following pseudocode is run?
           Main
         Set OldPrice = 100
         Set SalePrice = 70
         Call BigSale(OldPrice, SalePrice)
         Write “A jacket that originally costs $ “ + OldPrice
         Write “is on sale today for $ “ + SalePrice
        End Program
        Subprogram BigSale(Cost, Sale As Ref)
         Set Sale = Cost * .80
         Set Cost = Cost + 20
        End Subprogram
a.   A jacket that originally costs $100
is on sale today for $80
b.   A jacket that originally costs $100
is on sale today for $70
c.   A jacket that originally costs $120
is on sale today for $80
d.   A jacket that originally costs $120
is on sale today for $70
Textbook 
Prelude to Programming

Prelude to Programming


Edition: 6th
Authors:
Read 23 times
1 Reply
Replies
Answer verified by a subject expert
godinggoding
wrote...
Posts: 267
Rep: 5 0
5 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

ian18 Author
wrote...

5 years ago
This calls for a celebration Person Raising Both Hands in Celebration
wrote...

Yesterday
I appreciate what you did here, answered it right Smiling Face with Open Mouth
wrote...

2 hours ago
This helped my grade so much Perfect
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1304 People Browsing
Related Images
  
 282
  
 1604
  
 19
Your Opinion
Who's your favorite biologist?
Votes: 586