Breaking News
You are here: Home / Tag Archives: cppm notes

Tag Archives: cppm notes

Feed Subscription

Introduction to Q-basic Editor

image005

Introduction to Q-basic Editor How to download and use Q-basic editor? Type download q-basic software for windows xp Click on first link(Note: link rank may change by google) Click on download button After clicking on download link again one window will open Again click on download arrow After clicking on download button software will start downloading. QBASIC.zip file will be downloaded ... Read More »

qbasic menu driven program for string operations

qbasic menu driven program for string operations

qbasic menu driven program for string operations REM menu driven program con$ = "y" WHILE UCASE$(con$) = "Y" CLS LOCATE 5, 28: PRINT "[1]Upper case:->" LOCATE 7, 28: PRINT "[2]Lower case:->" LOCATE 9, 28: PRINT "[3]Toggle case:->" LOCATE 11, 28: PRINT "[4]Exit:->" LOCATE 13, 28: INPUT "Enter your choice:->", n IF n <> 4 THEN LOCATE 15, 28: INPUT "Enter ... Read More »

program to check wether given string is palindrom or not

program to check wether given string is palindrom or not

program to check wether given string is palindrom or not CLS REM A program to check wether given string is palindrom or not INPUT "Enter string:->", n$ l = LEN(n$) FOR i = l TO 1 STEP -1 s$ = s$ + MID$(n$, i, 1) NEXT i PRINT PRINT IF n$ = s$ THEN PRINT "String is palindrom" ELSE PRINT ... Read More »

program to make your name proper

program to make your name proper

program to make your name proper CLS REM A program to make your name proper INPUT “Enter your name:->”, name$ PRINT l = LEN(name$) PRINT PRINT “Your proper string:->” flag1 = 1 PRINT FOR i = 1 TO l STEP 1         s$ = MID$(name$, i, 1)         IF MID$(name$, i, 1) = ” ... Read More »

program to count number of vowels and consonents from given string

program to count number of vowels and consonents from given string

program to count number of vowels and consonents from given string CLS INPUT "Enter string:->", n$ l = LEN(n$) FOR i = 1 TO l STEP 1 IF MID$(n$, i, 1) = "a" OR MID$(n$, i, 1) = "e" OR MID$(n$, i, 1) = "i" OR MID$(n$, i, 1) = "o" OR MID$(n$, i, 1) = "u" THEN cont = ... Read More »

program to calculate the final payment of workers ina an industry

program to calculate the final payment of workers ina an industry

program to calculate the final payment of workers ina an industry CLS REM A program to calculate the final payment of workers ina an industry a: INPUT "Enter working hours:->", wh IF wh < 0 THEN PRINT PRINT "You have entered wrong data:->" PRINT GOTO a END IF IF wh <= 40 THEN oth = 0 ra = wh * ... Read More »

find bubble sort in array

find bubble sort in array

find bubble sort in array REM ** TO FIND BUBBLE SORT IN ARRAY ** CLS DIM A$(10) FOR I = 0 TO 9 PRINT "ENTER ELEMENTS: " INPUT A$(I) NEXT I FOR I = 0 TO 9 PRINT "ELEMENTS ARE: "; A$(I) NEXT I FOR I = 0 TO 9 FOR J = I + 1 TO 9 IF A$(I) ... Read More »

program to find out the maximum number from 2d array with its position

program to find out the maximum number from 2d array with its position

program to find out the maximum number from 2d array with its position CLS REM program to find out the maximum number from 2D array with it's position INPUT "Enter number of rows:->", r PRINT INPUT "Enter number of columns:->", c DIM a(r, c) FOR i = 1 TO r STEP 1 FOR j = 1 TO c STEP 1 ... Read More »

Scroll To Top