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
Get step-by-step solutions from verified subject matter experts
