Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
reverseandcheck
//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 newno = 0; int num = 12345; int rem = 0; while (num > 0 ) { rem = num % 10; num = num/10; newno = (newno*10) + rem ; } Console.WriteLine(newno); if (num == newno) { Console.WriteLine("nos are equal"); } else { Console.WriteLine("nos are not equal"); } } } }
run
|
edit
|
history
|
help
0
4.4.20
Prime Number
Polymorphism example
Programmes
Basma 2
1. soru
length
fgtyhi8uy7htr4e3qwcedf
a6
test1