- 1

Help me I don't know why my program isn't working

Please help. Link: https://code.sololearn.com/cFDJW57u89O2/#cs

11th Oct 2020, 7:49 PM
Kaba K
Kaba K - avatar
3 odpowiedzi
+ 1
You don’t need quoatations around 14 since its a number and not a string
11th Oct 2020, 7:54 PM
Harmanpreet Singh Gill
Harmanpreet Singh Gill - avatar
+ 5
Kaba K change line 16 to this as well will work int age = int.Parse("14");
11th Oct 2020, 8:13 PM
BroFar
BroFar - avatar
0
The integer variable should be declared as follows: int age = 14;
11th Oct 2020, 8:45 PM
JaScript
JaScript - avatar