× Didn't find what you were looking for? Ask a question
Top Posters
Since Sunday
e
5
e
4
4
d
4
R
4
o
3
p
3
t
3
3
m
3
p
3
m
3
New Topic  
ian18 ian18
wrote...
Posts: 223
Rep: 0 0
6 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 24 times
1 Reply
Replies
Answer verified by a subject expert
godinggoding
wrote...
Posts: 267
Rep: 5 0
6 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...

6 years ago
Thanks
wrote...

Yesterday
Thanks
wrote...

2 hours ago
Good timing, thanks!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  945 People Browsing
Related Images
  
 255
  
 4085
  
 1608
Your Opinion
How often do you eat-out per week?
Votes: 80