Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Palindrome Number
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int remainder, reverse = 0; int num = Convert.ToInt32(343); Console.WriteLine(num); while (num > 0) { remainder = num % 10; reverse = reverse * 10 + remainder; num = num / 10; } Console.WriteLine(reverse); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
circular linked list
Polygon Util
Ex03 cm=ft,in
ö1
hola1
Collection_ Introduction default constructor rule_accessing methods from object returned from property
checker
pointoncircle
Delegaty
Insertion Sort
Please log in to post a comment.