Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
number from base 10 to base 2
'Rextester.Program.Main is the entry point for your code. Don't change it. 'Compiler version 11.0.50709.17929 for Microsoft (R) .NET Framework 4.5 Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Text.RegularExpressions Namespace Rextester Public Module Program Public Sub Main(args() As string) 'Your code goes here Dim num as integer = console.readline() dim resto as integer = 0 dim str as string = "" do until num < 2 resto = num mod 2 str= resto & str num=num/2 loop str= 1 & str console.writeline(str) End Sub End Module End Namespace
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
macro for msg box in outlook
valor maximo entre 3 numeros
exercicio 2
CAI Visual Basic - Ej Elecciones
command console (template)
Exercicio 1
RSA Encyption example with large numbers using System.Numerics.BigInteger
Sonnet of the day from sparkenotes no fear shakespeare...
exercicio 2 2019 11 11
Declaração de Variaveis
Please log in to post a comment.