Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

taking input in single line c#

                    var line = Console.ReadLine();
                    var data = line.Split(' ');
                    yrs = int.Parse(data[0]);
                    s = Double.Parse(data[1]);
 
PREVIOUS NEXT
Tagged: #input #single #line
ADD COMMENT
Topic
Name
4+8 =