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


A

Computer Science & Information Technology

You might also like to view...

An array that uses two indices is referred to as a(n) ___________ array.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Rational class in this chapter is defined as a subclass of java.lang.Number. Which of the following expressions is correct?

a. Rational.doubleValue(); b. Rational.doubleValue("5/4"); c. new Rational(5, 4).doubleValue(); d. new Rational(5, 4).toDoubleValue(); e. new Rational(5, 4).intValue();

Computer Science & Information Technology

SWF is a very popular format for online animations and games.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Sara, a security administrator, examines a network session to a compromised database server with a packet analyzer. Within the session there is a repeated series of the hex character 90 (x90). Which of the following attack types has occurred?

A. Buffer overflow B. Cross-site scripting C. XML injection D. SQL injection

Computer Science & Information Technology