Question: 13. 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

13. 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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock