Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
octalofint
//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 PrintOctal(int num) { int [] oct= new int [10]; int i = 0; while (num > 0) { oct [i]= num % 8; num = num / 8; i++; } for (int j=i-1;j>=0;j--) { Console.Write(oct[j]); } } public static void Main(string[] args) { int n = 20; PrintOctal(n); } } }
run
|
edit
|
history
|
help
0
Operators
ADSA - Tuto 1 - Exo4 - b - Proposition d'algo en O(n)
sdfghjtrefdc v
SSTR PARS
Enumerate an enum?
retrylogic
lit pe
Fórum ➡ Get all combinations for ▶different◀ Id's ( GroupBy version ) ♦
Finonacci Series
Naju Date Format Issue