0

What is wrong?

int age=Convert.ToInt32(Console.ReadLine()); int height= Convert.ToInt32(Console.ReadLine());

7th Aug 2018, 6:35 PM
Coder21
Coder21 - avatar
9 Respostas
+ 1
#Jamie l am trying to input 2 values,but sololearn shows me:unhendled expection :( using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int age=Convert.ToInt32(Console.ReadLine()); int height= Convert.ToInt32(Console.ReadLine()); } } }
8th Aug 2018, 12:33 PM
Coder21
Coder21 - avatar
+ 1
for example: 5 6
8th Aug 2018, 12:38 PM
Coder21
Coder21 - avatar
+ 1
any two number
8th Aug 2018, 12:38 PM
Coder21
Coder21 - avatar
+ 1
Thank you,and please tell me how mark people in comments on sololearn
8th Aug 2018, 1:11 PM
Coder21
Coder21 - avatar