0

Where's the problem in this code ? It output error in Line 17-14. Help please.

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) { //taking the age as input int age = Convert.ToInt32(Console.ReadLine() ); //your code goes here If (age <=19){Console.WriteLine("Take your kindle"); }; } } }

6th Apr 2023, 2:40 PM
Prosper Zannou HOUNYE
Prosper Zannou HOUNYE - avatar
1 Odpowiedź
+ 5
Prosper Zannou HOUNYE Your minor mistake is 'if' instead of 'If', and please attach also programming tag which programming language are you talking about.
6th Apr 2023, 3:34 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar