Option Explicit
Dim i,j,var,Flag,n
var=""
n=cint(InputBox("Enter nth Number to check Prime Numbers"))
i = 3
While i <= n
Flag = True
j = 2
While j <= i\2 And Flag
Flag = i Mod j > 0
j = j + 1
Wend
If Flag Then
var = var&" "&i
End If
i = i + 2
Wend
MsgBox("Prime numbers within n numbers "&n&"= : 1" & var)
write a vb program to find the magic square
A Visual Basic program.
I think events of objects are used to execute a program in VB.
w
To make a program for the drivers license exam in Vb on must find the proper software to download and install. this software can come from any verified site.
yes u can do it....running mapinfo file under VB 6
Using the event paradigms of vB access the program codes of the antivirus by selecting i0steam as the main source........
Add the numbers, then divide by three. I don't know vb script, but in most programming languages it would be something like this: result = (a + b + c) / 3
You need to develop the VB program with a non student version of VB/VS. You can distribute the redistributable DLL's, but you can not distribute the debug versions. See your EULA.
If you run the program and it has an error/bug the line where the error originates will be marked by color yellow... it is where the program breaks or stop...
If you save your VB.NET project, it will be a .vb file. You can also build your program, then it becomes an executable (.exe)
Yes it is possible, most things are in VB