What will be the output from each of the following statements? a. Console.Write(Result is {0:c}, 67); b.
Question:
What will be the output from each of the following statements?
a. Console.Write(‘‘Result is {0:c}’’, 67);
b. Console.Write(‘‘Number {0:f 0} is {1:c}’’, 1, 3);
c. Console.Write(‘‘{0:f 0}– {1:c}’’, 1, 3 2);
d. Console.Write(‘‘{0:f 0} result ‘‘ + ‘‘xyz {1:f 2}’’, 1, 25);
e. Console.Write(‘‘This is the {0:f 0}st example: {1:f 2}’’, 1, 3);
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: