DECLARE SUB SERIES ( )

CLS

CALL SERIES

END

SUB SERIES

FOR I = 2 TO 100 STEP 2

PRINT I,

NEXT I

END SUB

* * 10 mins

CLS

CALL SERIES

END

SUB SERIES

FOR I = 2 TO 100 STEP 2

PRINT I,

NEXT I

END SUB

- Enter any two numbers and display its sum
- Enter any two numbers and display its difference
- Enter any two numbers and display its product
- Enter any two numbers and display its average
- Enter any two numbers and display its sum, difference, product and average
- Enter any three numbers and display its sum, product and average
- Display sum of half of any two given numbers
- Input n number and print the sum of first n natural numbers
- Input n number and print the sum square of first n natural numbers
- Display square of an input number
- Display cube of an input number
- Display square root of an input number
- Display cube root of an input number
- Display sum of square of any two input numbers
- Display sum of cube of any two input numbers
- Display sum of square of any three input numbers
- Display sum of cube of any three input numbers
- Display area of rectangle
- Display area of square
- Display area of circle
- Display perimeter of rectangle
- Display perimeter of square
- Display circumference of circle
- Display area and perimeter of rectangle
- Display area and perimeter of square
- Display area and circumference of circle
- Display area of 4 walls
- Display area of triangle
- Display area of parallelogram
- Display area of triangle when three sides are given
- Display total surface area of sphere
- Display volume of sphere
- Display total surface area and volume of sphere
- Display total surface area of hemisphere
- Display volume of hemisphere
- Display total surface area and volume of hemisphere
- Display total surface area of cylinder
- Display volume of cylinder
- Display total surface area and volume of cylinder
- Display total surface area of cuboid / box
- Display volume of cuboid / box
- Display total surface area and volume of cuboid
- Display total surface area of cube
- Display volume of cube
- Display total surface area and volume of cube
- Display simple interest
- Input principal, rate, time and display total amount
- Input principal, rate, time and display simple interest and total amount
- Input amount, rate, time and display principal
- Input simple interest, rate, time and display principal
- calculate profit
- calculate loss
- calculate profit percentage
- calculate loss percentage
- calculate selling price where profit percentage and cost price is given
- calculate selling price where loss percentage and cost price is given
- calculate cost price where loss percentage and selling price is given
- calculate cost price where profit percentage and selling price is given
- Input selling price and cost price calculate profit or loss percentage
- to accept temperature in Fahrenheit from user and convert into the Celsius
- to accept temperature in Celcius from user and convert into the Farenheit
- to accept currency value in Nepalese Rupees and convert into Indian Currency
- to accept currency value in Indian Currency and convert into Nepalese Rupees
- to accept currency value in dollar and convert into Nepalese Rupees
- to accept currency value in Nepalese Rupees and convert into dollar
- Input number as paise and convert into rupees only
- Input days and convert into years, months and days
- Input seconds and convert into hours minutes and seconds
- Input distance in kilometer and convert into meter
- Input distance in meter and convert into kilometer and meter
- Input distance in kilometer and convert into miles
- Input value in kilogram and convert into grams
- Input value in meter and convert into inch
- Calculate distance.[S=UT+1/2(AT2)]
- Calculate potential energy of body. [PE=MGH where G=9.8]
- Ask quantity of pen, copy and pencil and their rate and find out the total amount
- Calculate total saving of a man if he earns Rs. 10,000 per month and spends 20% on food, 15% on children’s education, 10% on entertainment and 20% on rent
- Input sales amount and rate of commission then calculate commission and return nt sales. [ns=sa-c)
- An organization pays its employees allowance at the rate of 10% of basic salary. WAP to input the salary of the employees and calculate the allowances
- Solve a quadratic equation ax2+bx+c=0 on the basis of the coefficient values a, b, and c
- WAP to input any number and check whether the given no. is divisible by 5 or not
- WAP to input any number and check whether the given no. is divisible by 3 and 7 or not
- WAP to input any number and check whether the given no. is positive, negative or zero
- WAP to input a year and display whether that year is a leap year or not. [divisible by 4 but not 100]
- WAP to input any number and display whether it is odd or even
- To divide a number by another number and find the quotient and remainder
- WAP to input any number and check whether the given no. is positive or negative
- Input a mark in a subject of a student and check if the student is pass or nor. [Pass Mark >=40]
- Input the age of a person and find out whether the person is eligible to drive or not. [age >=16]
- Input the age of a person and find out whether the person is eligible to vote or not. [age >=18]
- WAP to enter any 15 numbers and display only those numbers which are divisible by 5
- WAP to enter any 15 numbers and display only those numbers which are divisible by 5 and 7
- WAP to enter any two numbers and display the greater one
- WAP to enter any two numbers and display the smaller one
- WAP to enter any three numbers and display the greatest one
- WAP to enter any three numbers and display the smallest one
- WAP to enter any three numbers and display the middle number
- WAP to enter any three numbers and display the greatest, smallest and the middle number
- WAP to enter any 10 numbers and display the greatest one
- WAP to enter any 10 numbers and display the smallest one
- WAP to enter any 20 numbers and display the greatest one using array
- WAP to enter any 20 numbers and display the smallest one using array
- WAP to enter any 20 numbers and display the greatest and smallest one using array
- WAP to input number and find sum of digits
- WAP to input number and find sum of odd digits
- WAP to input number and find sum of even digits
- WAP to input number and find sum square of digits
- WAP to input number and find sum of square of odd digits
- WAP to input number and find sum of square of even digits
- WAP to input number and find sum of cube of digits
- WAP to input number and find sum of cube of odd digits
- WAP to input number and find sum of cube of even digits
- WAP to input number and count total no. of digits
- WAP to input number and count total no. of odd digits
- WAP to input number and count total no. of even digits
- WAP TO ENTER ANY DIGIT AND DISPLAY EVEN DIGITS
- WAP TO ENTER ANY DIGIT AND DISPLAY ODD DIGITS
- WAP TO ENTER ANY DIGIT AND DISPLAY SQUARE OF EVEN DIGITS
- WAP TO ENTER ANY DIGIT AND DISPLAY SQUARE OF ODD DIGITS
- WAP TO ENTER ANY DIGIT AND DISPLAY CUBE OF EVEN DIGITS
- WAP TO ENTER ANY DIGIT AND DISPLAY CUBE OF ODD DIGITS
- WAP to enter any 10 numbers and find the sum of numbers
- WAP to enter any 10 numbers and find the sum of odd numbers
- WAP to enter any 10 numbers and find the sum of even numbers
- WAP TO ENTER ANY DIGIT AND DISPLAY ITS REVERSED FORM
- WAP to input any number and check whether the given no. is palindrome or not
- WAP to display first 20 palindrome numbers
- WAP to display all palindrome numbers from 1 to 200
- WAP to input any number and check whether the given no. is Armstrong or not
- WAP to display first 5 Armstrong numbers
- WAP to display all Armstrong numbers from 1 to 500
- WAP to input number and check whether the given no. is prime or composite
- WAP to display all prime numbers from 1 to 100
- WAP to display first 15 prime numbers
- WAP to input number and check whether the given no. is prime or not
- WAP to input number and check whether the given no. composite or not
- WAP to input any number and display the factors
- WAP to input any number and display the prime factors
- WAP to input any number and find sum of factors
- WAP to input any number and display the factorial of a given number
- WAP to input any number and display the prime factorial of a given number
- WAP TO CHECK WHETHER THE INPUT NUMBER IS PERFECT NUMBER OR NOT
- WAP TO CHECK WHETHER THE INPUT NUMBER IS PERFECT SQUARE NUMBER OR NOT
- WAP TO DISPLAY MULTIPLICATION TABLE OF A GIVEN NUMBER
- WAP TO DISPLAY H.C.F AND L.C.M OF A GIVEN ANY TWO NUMBERS
- WAP TO DISPLAY H.C.F OF A GIVEN ANY TWO NUMBERS
- WAP TO DISPLAY L.C.M OF A GIVEN ANY TWO NUMBERS
- WAP to input number and find product of digits
- WAP to input number and find product of odd digits
- WAP to input number and find product of even digits
- WAP to enter any 5 numbers and display its product
- WAP to input three sides of a triangle and determine whether a triangle can be formed or not
- WAP to input three sides of a triangle and determine whether a triangle is right angled triangle or not
- WAP to input three angles of a triangle and determine whether a triangle is right angled triangle or not
- WAP to input three sides of a triangle and determine whether a triangle is equilateral triangle or not
- WAP to input three sides of a triangle and determine whether a triangle is equilateral, isosceles or scalene triangle or not
- WAP to enter any 10 numbers and sort in ascending order
- WAP to enter any 10 numbers and sort in descending order
- WAP to input any string and reverse it
- WAP to input any string and check whether the given string is palindrome or not
- WAP to input any string and count total no. of vowels
- WAP to input any string and display only vowels
- WAP to input any string and count total no. of consonants
- WAP to input any string and display only consonants
- WAP to input any string and count total no. of vowels and consonants
- WAP to input any word and count total no. of vowels and consonants
- WAP to input any string and count total no. of words
- WAP to input any string and count total no. of vowels , consonants and words
- WAP to input any string and count total no. of sentences
- WAP to input any string and count total no. of vowels , consonants, words and sentences
- WAP to input any string and display only consonant by removing vowels
- WAP to input any string and check whether the first character of a input string is alphabet, number or symbol
- WAP to input string and find whether the first character is a number or uppercase or lowercase
- WAP to input string and display the input string in alternate character. E.g computerà cOmPuTeR
- WAP to count the frequency of characters R or S present in the supplied string
- WAP to check whether the supplied character is alphabet or not
- WAP to enter any ten strings and display the longest strings
- WAP to enter any ten strings and display the shortest string
- WAP to enter any ten strings and sort in ascending order
- WAP to enter any ten strings and sort in descending order
- WAP to enter any three strings and print the shortest one
- WAP to enter any three strings and print the longest one
- WAP to convert decimal number to binary number
- WAP to convert binary number to decimal number
- WAP to convert decimal number to octal number
- WAP to convert octal number to decimal number
- WAP to convert decimal number to hexadecimal number
- WAP to convert hexadecimal number to decimal number
- WAP to input number of passengers and their destination
- WAP to input total number of words and compute telegram charges which are as follows
- In order to discourage heavy consumption of electricity, the electricity board charges the following rates
- WAP to supply percentage from the keyboard and print division using sub – program. Use the following conditions
- WAP to display all natural numbers from 1 to 100
- WAP to display all odd numbers from 1 to 100
- WAP to display all even numbers from 2 to 100
- WAP to find the sum of all natural numbers from 1 to 100
- WAP to find the sum of all odd numbers from 1 to 100
- WAP to find the sum of all even numbers from 2 to 100
- WAP to display all natural numbers from 1 to 100 in descending order
- WAP to display all odd numbers from 1 to 100 in descending order
- WAP to display all even numbers from 2 to 100 in descending order
- WAP to display all natural numbers from 1 to 100 also display its sum
- WAP to display all odd numbers from 1 to 100 also display its sum
- WAP to display all even numbers from 2 to 100 also display its sum
- WAP to display cube of all numbers from 1 to 50
- WAP to display square of all numbers from 1 to 50
- WAP to print the sum of the numbers between 2 to 50
- WAP to print the sum of square of odd numbers up to 100
- WAP to print the sum of the numbers between 3 to 30
- WAP to print the sum of cube of even numbers between 2 to 50
- WAP to print the sum of even numbers between 2 to 50
- WAP using to print the sum of first ten positive integers
- WAP to print first ten multiples of input number
- WAP using to display first 13 odd numbers
- WAP using to display first 19 even numbers
- WAP to print the following series 9,7,5,….1
- WAP using to display product of all numbers from 4 to 8
- WAP to generate the following numeric pattern 1,12,123,1234,12345
- WAP to generate the following series 55555,4444,333,22,1
- WAP to generate the following series 5,54,543,5432,54321
- WAP to generate the following series 54321,5432,543,54,5
- WAP to generate the following series 88888888,666666,4444,22
- WAP to generate the following series 13579,1357,135,13,1
- WAP to generate the following series 1,23,456,78910
- WAP to generate the following series 123456789,1234567,12345,123,1
- WAP to generate the following series ½, 2/3, ¾……….15th term
- WAP to generate the following series 2,4,6,8………….12th term
- WAP to generate the following series 2,3,5,8,13…………10th term
- WAP to generate the following series 11,3,14,17,31………….18th term
- WAP to generate the following series 1,4,9…………..9th term
- WAP to generate the following series 9,28,14,7,22,11…………..10th term
- WAP to generate the series 1,4,7,10………….12th terms
- WAP to generate the series 10,20,30………100
- WAP to generate the series 100,95,90…………………..10th term
- WAP to generate the series 1,8,27……………8th
- WAP to generate the series 2,22,222………..13th term
- WAP to generate the series 55555,5555,555,55,5
- WAP to generate the series 1,2,3,5…………9th terms
- WAP to generate the series 2,2,4,6,10………….13th term
- WAP to generate the series 3,10,5,16………………11th term
- WAP to generate 7,22,11,34……………19th terms
- WAP to generate the series10,12,15,19…………..14th terms
- WAP to generate the series 50,46,41,35…………..7th terms
- WAP to generate the series .1,0.01,0.001,0.0001,0.00001
- WAP to generate the series 0.00003,0.0003,,0.003,0.03,0.3
- WAP to display numbers 1,3,5……..30
- WAP to generate the following series 1,121,12321,1234321,123454321
- WAP to generate the following series 11111,1111,111,11,1
- WAP to display 3,6,12,24………15th terms
- WAP to display -30,-20,-10,0,10,……………20th terms
- WAP to generate the following series 5,55,555,5555,55555
- WAP to display numbers 30,28.5,27,25.5…….9th terms
- WAP to generate the series 1,5.25,125…..10th terms
- WAP using to display 50,75,100,125,150
- WAP using to display 1, 10, 101, 1010, 10101
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display
- WAP to display

error: Content is protected !!

## No Comments