0

How to get space before 18 age in this C# code

I take output from the user about his age in int variable type but the age is comming attached with the Question. like this. Please Enter Your Age:18 I want space in front of 18. https://code.sololearn.com/cg3yTboua0WL/?ref=app

15th Mar 2018, 5:01 AM
Robin
Robin - avatar
2 Answers
+ 2
Put a space after the colon, so you have the statement below: Console.Write("Please Enter Your Age: ");
15th Mar 2018, 5:10 AM
DaemonThread
DaemonThread - avatar
0
Thank You Mr. Daemon Thread.
15th Mar 2018, 5:23 AM
Robin
Robin - avatar