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 =
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
3.44 Rating (157 Votes )
There are 3 Steps involved in it
b strAm... View full answer
Get step-by-step solutions from verified subject matter experts
