Lab 8:Write a Visual Basic Program to Find Prime or Not

Private Sub Command1_Click()
Dim i As Integer
Dim n As Integer
n = Val(Text1.Text)
For i = 2 To n - 1
If n Mod i = 0 Then
Print "it is not a prime no"
Exit Sub
End If
Next i
Print "it is  a prime no"

End Sub


For more details about How to Earn Money Online please visit

http://codetherush.in/

College Projects with source code (PHP, .NET, JAVA, Visual Basic)


Pharmacy Management System in PHP and MySQL with Source Code


2018 Top WordPress Plugins for Business Websites


Top 10 Best Photo Editing Apps For Android


Best 2018 Android Hacking Apps


30 Best Free WordPress Blog Themes for 2017


Online Loan Management System


Car Rental System Using PHP


Online Jewellery Shopping System Php Project with source code


Online time table generation system in PHP


Online Examination System In PHP


PHP Website with DataBase As MySql


18 Ways to Earn Money Online from Home Without Investment


Online Survey Jobs: Earn from 20 Best Paid Survey Sites


Get Paid to Take Online Surveys for Money with 21 Best Sites


Top 10 Captcha Entry Job Sites


Best Get Paid to Offer & GPT Sites


Get Paid to Read & Click Ads from Best PTC Sites


How To Restore Your WordPress Website Backup On Local Server Using WAMP


Online Shopping System Using PHP and MySQL


Email server using PHP and MySQL


Hotel Reservation System In PHP


social media platforms Project In PHP


Crime Reporting System Project In PHP


Gmail Outlook Settings In Outlook 2016


Airlines Reservation System Java Project


Mail Server in PHP And MySQL


Online Examination System in PHP and MySQL


Student Information System using Vb and SQL


Payroll Management System In VB and SQL


Exam Seating Management System


Automation Inventory System in VB and SQL Server


School Management System

No comments

Powered by Blogger.