0
How to solve all the cases?
I'm using C# and in the second task "getting user input" - this is pretty straight forward but how does SoloLearn expect the cases to be solved?? I mean the cases I can solve 1 by 1 but it always comes up like "yipicayay" you did something wrong Yada Yada... Yoda said... You solve the 1 then the 2. But then the first is of course wrong. I don't get it! Can someone please elaborate? :)
5 Answers
+ 10
string name = Console.ReadLine();
int age = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Name: "+ name);
Console.WriteLine("Age: "+ age);
+ 1
Super i get the idea đ thanks
0
string name = "Emma";
int age = 23; Console.ReadLine();
Console.WriteLine("Name: "+ name);
Console.WriteLine("Age: "+ age);
0
Use input (Console.ReadLine) to set age
The test cases will provide appropriate values, just like you would get input from user
- 1
So I should not put in the name and age?