The strAmount variable contains the string 678.95. Which of the following statements changes the contents of the

Question:

The strAmount variable contains the string “678.95”. Which of the following statements changes the contents of the variable to the string “678.95!!!”?
a. strAmount = strAmount.PadRight(9, "!")
b. strAmount = strAmount.PadRight(9, "!"c)
c. strAmount = strAmount.PadRight(3, "!"c)
d. None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: