Question: C# Alternative ways for using STRING.FORMAT 1/print total WriteLine(String.Format({0,18:ne}, total) + String.Format({0, 10:P0},1)); Write( to run another simalation, enter+Y: ); RunAgain = ReadLine(); } while
1/print total WriteLine(String.Format("{0,18:ne}", total) + String.Format("{0, 10:P0}",1)); Write(" to run another simalation, enter"+"Y: "); RunAgain = ReadLine(); } while (RunAgain.ToUpper() == "Y");/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
