Paturo naman po neto may code nako kaso parang may kulang nag eerror. Pahelp naman po jan gamit vbnet maraming ty.
WILLING TO GIVE TIP JUST PM ME.
Eto po yung code ko kaso nag eerror
Module Program
Sub Main(args As String())
Console.WriteLine("This program will ask for an integer input and convert it into its binary and octal equivalent")
Dim input As Integer, bitwisebin As String = ""
Dim bitwiseoct As String = ""
Console.Write("Enter a number: ")
input = Console.ReadLine
Console.WriteLine()
Do While (input > 0)
Dim remainder As Integer = input Mod 2
bitwisebin = remainder.ToString & bitwisebin
input = input \ 2
Loop
Console.WriteLine("The binary equivalent of decimal number is {0} ", bitwisebin)
WILLING TO GIVE TIP JUST PM ME.
Eto po yung code ko kaso nag eerror
Module Program
Sub Main(args As String())
Console.WriteLine("This program will ask for an integer input and convert it into its binary and octal equivalent")
Dim input As Integer, bitwisebin As String = ""
Dim bitwiseoct As String = ""
Console.Write("Enter a number: ")
input = Console.ReadLine
Console.WriteLine()
Do While (input > 0)
Dim remainder As Integer = input Mod 2
bitwisebin = remainder.ToString & bitwisebin
input = input \ 2
Loop
Console.WriteLine("The binary equivalent of decimal number is {0} ", bitwisebin)