CLS
INPUT "Enter any Number "; n
FOR i = 1 TO n
IF n MOD i = 0 THEN c = c + 1
NEXT i
IF c = 2 THEN
PRINT "Prime Number"
INPUT "Enter any Number "; n
FOR i = 1 TO n
IF n MOD i = 0 THEN c = c + 1
NEXT i
IF c = 2 THEN
PRINT "Prime Number"
QBASIC Basic to Advance Programs, QBASIC Control Statement, Looping Statement, Arrays, Modular Programming, File Handling, SLC & SEE Oriented Solved Questions, Model Questions, Projects etc.
Using FOR...NEXT
Using FOR...NEXT
Using FOR...NEXT
Using FOR...NEXT
Using FOR...NEXT
QBASIC Program to get any two numbers from the user and print the average.
QBASIC Program to get any two numbers from the user and print their sum on the screen.
Write a program to add some new records in the existing data file STUDENT.DAT. The program should prompt to the user for adding next records.
If you are searching for class 10 Computer Science in Nepali pdf for free download then you are at the right page. This book is soley publi...