num = Convert.ToInt32(Console.ReadLine());
here why need to convert num to int . what is the use of it
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 13, 2015, 2:02 AM EDT
This would be done so you could apply some arithmetic operations to num which you can't do to strings.