Check a number palindrome or not! Program: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main( string [] args) { int num, rem, rev = 0; Console .WriteLine( "//How to check a number palindrome or not in c# ?" ); Console .WriteLine( "Enter A number :" ); num = Convert .ToInt32( Console .ReadLine()); if (num > 0) ...
Comments
Post a Comment