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

Question:

The strAmount variable contains the string “245.69”. Which of the following statements changes the contents of the variable to the string “245.69!!”?

a. strAmount = strAmount.PadLeft(8, "!"c)

b. strAmount = strAmount.PadRight(8, "!"c)

c. strAmount = strAmount.PadRight(2, "!"c)

d. None of the above

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

Step by Step Answer:

Related Book For  answer-question
Question Posted: