Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Simple Parallel.For example
pared 1
MegaWays3
dynamic object
adxcsxsd
Random number maker block (better version)
Fórum Group Data Within 5 Hours Maximum
Intuit // C# // listing_4.1 (Console.WriteLine _ Форматный вывод)
Bubble Sort
database interior 0.2
Please log in to post a comment.