Today’s unnecessary program:
for (var pow = 0; pow <= 21; pow++)
{
for (var i = 1; i <= 9; i++)
{
var num = i * Math.Pow(10, pow);
Console.WriteLine(num.ToString("N0"));
}
}
💥 Chief Kablamo Artist
💻 Dad, Husband, Software dude, Funny guy.
🚂 Tech, Science, Math, Humor, Language, Family.
☎️ I did not invent the telephone.
Today’s unnecessary program:
for (var pow = 0; pow <= 21; pow++)
{
for (var i = 1; i <= 9; i++)
{
var num = i * Math.Pow(10, pow);
Console.WriteLine(num.ToString("N0"));
}
}