Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
entero_hacia_string
using System; namespace Rextester { public class Program { public static string entero_hacia_string(int numero) { var texto = ""; for(; numero>0; numero/=10){ texto = numero%10 + texto; if(numero>10){ texto = " " + texto; } } return texto; } public static void Main(string[] args) { var texto = "'" + entero_hacia_string(123456) + "'" ; Console.WriteLine(texto); } } }
run
|
edit
|
history
|
help
0
Encrption & Decryption C#
My C# (2)
Towers of Hanoi
delete_xml_empty_tags
Non-User input - Random Controlled - Guessing Game
mo3dal
Scope variables
3 numper
TesteSwitch
Generics Base class constraints