REM
CLS
INPUT “ENTER ANY NUMBER”; N
IF N MOD 3 = 0 AND N MOD 7 = 0 THEN
PRINT N; "IS COMPLETELY DIVISIBLE BY 3 AND 7”
ELSE
PRINT N; "IS NOT COMPLETELY DIVISIBLE BY 3 AND 7”
END IF
END
USING SUB PROCEDURE
DECLARE SUB CHECK (N)
CLS
INPUT “ENTER ANY NUMBER”; N
CALL CHECK (N)
END
SUB CHECK (N)
IF N MOD 3 = 0 AND N MOD 7 = 0 THEN
PRINT N; "IS COMPLETELY DIVISIBLE BY 3 AND 7”
ELSE
PRINT N; "IS NOT COMPLETELY DIVISIBLE BY 3 AND 7”
END IF
END SUB
USING FUNCTION PROCEDURE
DECLARE FUNCTION CHECK$ (N)
CLS
INPUT “ENTER ANY NUMBER”; N
PRINT N; “IS “; CHECK$(N) ; “BY 3 AND 7”
END
FUNCTION CHECK$ (N)
IF N MOD 3 = 0 AND N MOD 7 = 0 THEN
CHECK$ = “DIVISIBLE”
ELSE
CHECK$ = “NOT DIVISIBLE”
END IF : END FUNCTION
Course Curriculum
- Enter any two numbers and display its sum10 mins
- Enter any two numbers and display its difference10 mins
- Enter any two numbers and display its product10 mins
- Enter any two numbers and display its average10 mins
- Enter any two numbers and display its sum, difference, product and average20 mins
- Enter any three numbers and display its sum, product and average
- Display sum of half of any two given numbers10 mins
- Input n number and print the sum of first n natural numbers10 mins
- Input n number and print the sum square of first n natural numbers10 mins
- Display square of an input number10 mins
- Display cube of an input number10 mins
- Display square root of an input number10 mins
- Display cube root of an input number10 mins
- Display sum of square of any two input numbers10 mins
- Display sum of cube of any two input numbers10 mins
- Display sum of square of any three input numbers10 mins
- Display sum of cube of any three input numbers10 mins
- Display area of rectangle10 mins
- Display area of square10 mins
- Display area of circle10 mins
- Display perimeter of rectangle10 mins
- Display perimeter of square10 mins
- Display circumference of circle10 mins
- Display area and perimeter of rectangle15 mins
- Display area and perimeter of square10 mins
- Display area and circumference of circle10 mins
- Display area of 4 walls10 mins
- Display area of triangle10 mins
- Display area of parallelogram10 mins
- Display area of triangle when three sides are given10 mins
- Display total surface area of sphere10 mins
- Display volume of sphere10 mins
- Display total surface area and volume of sphere10 mins
- Display total surface area of hemisphere10 mins
- Display volume of hemisphere10 mins
- Display total surface area and volume of hemisphere10 mins
- Display total surface area of cylinder10 mins
- Display volume of cylinder10 mins
- Display total surface area and volume of cylinder10 mins
- Display total surface area of cuboid / box10 mins
- Display volume of cuboid / box10 mins
- Display total surface area and volume of cuboid10 mins
- Display total surface area of cube10 mins
- Display volume of cube10 mins
- Display total surface area and volume of cube10 mins
- Display simple interest10 mins
- Input principal, rate, time and display total amount10 mins
- Input principal, rate, time and display simple interest and total amount10 mins
- Input amount, rate, time and display principal10 mins
- Input simple interest, rate, time and display principal10 mins
- calculate profit10 mins
- calculate loss10 mins
- calculate profit percentage10 mins
- calculate loss percentage10 mins
- calculate selling price where profit percentage and cost price is given10 mins
- calculate selling price where loss percentage and cost price is given10 mins
- calculate cost price where loss percentage and selling price is given10 mins
- calculate cost price where profit percentage and selling price is given10 mins
- Input selling price and cost price calculate profit or loss percentage15 mins
- to accept temperature in Fahrenheit from user and convert into the Celsius20 mins
- to accept temperature in Celcius from user and convert into the Farenheit15 mins
- to accept currency value in Nepalese Rupees and convert into Indian Currency15 mins
- to accept currency value in Indian Currency and convert into Nepalese Rupees15 mins
- to accept currency value in dollar and convert into Nepalese Rupees15 mins
- to accept currency value in Nepalese Rupees and convert into dollar15 mins
- Input number as paise and convert into rupees only15 mins
- Input days and convert into years, months and days15 mins
- Input seconds and convert into hours minutes and seconds20 mins
- Input distance in kilometer and convert into meter10 mins
- Input distance in meter and convert into kilometer and meter20 mins
- Input distance in kilometer and convert into miles10 mins
- Input value in kilogram and convert into grams15 mins
- Input value in meter and convert into inch20 mins
- Calculate distance.[S=UT+1/2(AT2)]20 mins
- Calculate potential energy of body. [PE=MGH where G=9.8]20 mins
- Ask quantity of pen, copy and pencil and their rate and find out the total amount20 mins
- 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 rent20 mins
- Input sales amount and rate of commission then calculate commission and return nt sales. [ns=sa-c)20 mins
- 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 allowances20 mins
- Solve a quadratic equation ax2+bx+c=0 on the basis of the coefficient values a, b, and c20 mins
- WAP to input any number and check whether the given no. is divisible by 5 or not20 mins
- WAP to input any number and check whether the given no. is divisible by 3 and 7 or not20 mins
- WAP to input any number and check whether the given no. is positive, negative or zero20 mins
- WAP to input a year and display whether that year is a leap year or not. [divisible by 4 but not 100]20 mins
- WAP to input any number and display whether it is odd or even20 mins
- To divide a number by another number and find the quotient and remainder20 mins
- WAP to input any number and check whether the given no. is positive or negative20 mins
- Input a mark in a subject of a student and check if the student is pass or nor. [Pass Mark >=40]20 mins
- Input the age of a person and find out whether the person is eligible to drive or not. [age >=16]20 mins
- Input the age of a person and find out whether the person is eligible to vote or not. [age >=18]20 mins
- WAP to enter any 15 numbers and display only those numbers which are divisible by 520 mins
- WAP to enter any 15 numbers and display only those numbers which are divisible by 5 and 720 mins
- WAP to enter any two numbers and display the greater one20 mins
- WAP to enter any two numbers and display the smaller one20 mins
- WAP to enter any three numbers and display the greatest one20 mins
- WAP to enter any three numbers and display the smallest one20 mins
- WAP to enter any three numbers and display the middle number20 mins
- WAP to enter any three numbers and display the greatest, smallest and the middle number20 mins
- WAP to enter any 10 numbers and display the greatest one20 mins
- WAP to enter any 10 numbers and display the smallest one20 mins
- WAP to enter any 20 numbers and display the greatest one using array20 mins
- WAP to enter any 20 numbers and display the smallest one using array20 mins
- WAP to enter any 20 numbers and display the greatest and smallest one using array20 mins
- WAP to input number and find sum of digits20 mins
- WAP to input number and find sum of odd digits20 mins
- WAP to input number and find sum of even digits20 mins
- WAP to input number and find sum square of digits20 mins
- WAP to input number and find sum of square of odd digits20 mins
- WAP to input number and find sum of square of even digits20 mins
- WAP to input number and find sum of cube of digits20 mins
- WAP to input number and find sum of cube of odd digits20 mins
- WAP to input number and find sum of cube of even digits20 mins
- WAP to input number and count total no. of digits20 mins
- WAP to input number and count total no. of odd digits20 mins
- WAP to input number and count total no. of even digits20 mins
- WAP TO ENTER ANY DIGIT AND DISPLAY EVEN DIGITS20 mins
- WAP TO ENTER ANY DIGIT AND DISPLAY ODD DIGITS20 mins
- WAP TO ENTER ANY DIGIT AND DISPLAY SQUARE OF EVEN DIGITS20 mins
- WAP TO ENTER ANY DIGIT AND DISPLAY SQUARE OF ODD DIGITS20 mins
- WAP TO ENTER ANY DIGIT AND DISPLAY CUBE OF EVEN DIGITS20 mins
- WAP TO ENTER ANY DIGIT AND DISPLAY CUBE OF ODD DIGITS20 mins
- WAP to enter any 10 numbers and find the sum of numbers20 mins
- WAP to enter any 10 numbers and find the sum of odd numbers20 mins
- WAP to enter any 10 numbers and find the sum of even numbers20 mins
- WAP TO ENTER ANY DIGIT AND DISPLAY ITS REVERSED FORM20 mins
- WAP to input any number and check whether the given no. is palindrome or not20 mins
- WAP to display first 20 palindrome numbers20 mins
- WAP to display all palindrome numbers from 1 to 20020 mins
- WAP to input any number and check whether the given no. is Armstrong or not20 mins
- WAP to display first 5 Armstrong numbers20 mins
- WAP to display all Armstrong numbers from 1 to 50020 mins
- WAP to input number and check whether the given no. is prime or composite20 mins
- WAP to display all prime numbers from 1 to 10020 mins
- WAP to display first 15 prime numbers20 mins
- WAP to input number and check whether the given no. is prime or not20 mins
- WAP to input number and check whether the given no. composite or not20 mins
- WAP to input any number and display the factors20 mins
- WAP to input any number and display the prime factors20 mins
- WAP to input any number and find sum of factors20 mins
- WAP to input any number and display the factorial of a given number20 mins
- WAP to input any number and display the prime factorial of a given number20 mins
- WAP TO CHECK WHETHER THE INPUT NUMBER IS PERFECT NUMBER OR NOT20 mins
- WAP TO CHECK WHETHER THE INPUT NUMBER IS PERFECT SQUARE NUMBER OR NOT20 mins
- WAP TO DISPLAY MULTIPLICATION TABLE OF A GIVEN NUMBER20 mins
- WAP TO DISPLAY H.C.F AND L.C.M OF A GIVEN ANY TWO NUMBERS20 mins
- WAP TO DISPLAY H.C.F OF A GIVEN ANY TWO NUMBERS20 mins
- WAP TO DISPLAY L.C.M OF A GIVEN ANY TWO NUMBERS20 mins
- WAP to input number and find product of digits20 mins
- WAP to input number and find product of odd digits20 mins
- WAP to input number and find product of even digits20 mins
- WAP to enter any 5 numbers and display its product20 mins
- WAP to input three sides of a triangle and determine whether a triangle can be formed or not20 mins
- WAP to input three sides of a triangle and determine whether a triangle is right angled triangle or not20 mins
- WAP to input three angles of a triangle and determine whether a triangle is right angled triangle or not20 mins
- WAP to input three sides of a triangle and determine whether a triangle is equilateral triangle or not20 mins
- WAP to input three sides of a triangle and determine whether a triangle is equilateral, isosceles or scalene triangle or not20 mins
- WAP to enter any 10 numbers and sort in ascending order20 mins
- WAP to enter any 10 numbers and sort in descending order20 mins
- WAP to input any string and reverse it20 mins
- WAP to input any string and check whether the given string is palindrome or not20 mins
- WAP to input any string and count total no. of vowels20 mins
- WAP to input any string and display only vowels20 mins
- WAP to input any string and count total no. of consonants20 mins
- WAP to input any string and display only consonants20 mins
- WAP to input any string and count total no. of vowels and consonants20 mins
- WAP to input any word and count total no. of vowels and consonants20 mins
- WAP to input any string and count total no. of words20 mins
- WAP to input any string and count total no. of vowels , consonants and words20 mins
- WAP to input any string and count total no. of sentences20 mins
- WAP to input any string and count total no. of vowels , consonants, words and sentences20 mins
- WAP to input any string and display only consonant by removing vowels20 mins
- WAP to input any string and check whether the first character of a input string is alphabet, number or symbol20 mins
- WAP to input string and find whether the first character is a number or uppercase or lowercase20 mins
- WAP to input string and display the input string in alternate character. E.g computerà cOmPuTeR20 mins
- WAP to count the frequency of characters R or S present in the supplied string20 mins
- WAP to check whether the supplied character is alphabet or not20 mins
- WAP to enter any ten strings and display the longest strings20 mins
- WAP to enter any ten strings and display the shortest string20 mins
- WAP to enter any ten strings and sort in ascending order20 mins
- WAP to enter any ten strings and sort in descending order20 mins
- WAP to enter any three strings and print the shortest one20 mins
- WAP to enter any three strings and print the longest one20 mins
- WAP to convert decimal number to binary number20 mins
- WAP to convert binary number to decimal number20 mins
- WAP to convert decimal number to octal number20 mins
- WAP to convert octal number to decimal number20 mins
- WAP to convert decimal number to hexadecimal number20 mins
- WAP to convert hexadecimal number to decimal number20 mins
- WAP to input number of passengers and their destination20 mins
- WAP to input total number of words and compute telegram charges which are as follows20 mins
- In order to discourage heavy consumption of electricity, the electricity board charges the following rates30 mins
- WAP to supply percentage from the keyboard and print division using sub – program. Use the following conditions20 mins
- WAP to display all natural numbers from 1 to 10010 mins
- WAP to display all odd numbers from 1 to 10010 mins
- WAP to display all even numbers from 2 to 10010 mins
- WAP to find the sum of all natural numbers from 1 to 10010 mins
- WAP to find the sum of all odd numbers from 1 to 10010 mins
- WAP to find the sum of all even numbers from 2 to 10010 mins
- WAP to display all natural numbers from 1 to 100 in descending order10 mins
- WAP to display all odd numbers from 1 to 100 in descending order10 mins
- WAP to display all even numbers from 2 to 100 in descending order10 mins
- WAP to display all natural numbers from 1 to 100 also display its sum10 mins
- WAP to display all odd numbers from 1 to 100 also display its sum10 mins
- WAP to display all even numbers from 2 to 100 also display its sum10 mins
- WAP to display cube of all numbers from 1 to 5010 mins
- WAP to display square of all numbers from 1 to 5010 mins
- WAP to print the sum of the numbers between 2 to 5010 mins
- WAP to print the sum of square of odd numbers up to 10010 mins
- WAP to print the sum of the numbers between 3 to 3010 mins
- WAP to print the sum of cube of even numbers between 2 to 5010 mins
- WAP to print the sum of even numbers between 2 to 5010 mins
- WAP using to print the sum of first ten positive integers10 mins
- WAP to print first ten multiples of input number10 mins
- WAP using to display first 13 odd numbers10 mins
- WAP using to display first 19 even numbers10 mins
- WAP to print the following series 9,7,5,….110 mins
- WAP using to display product of all numbers from 4 to 810 mins
- WAP to generate the following numeric pattern 1,12,123,1234,1234510 mins
- WAP to generate the following series 55555,4444,333,22,110 mins
- WAP to generate the following series 5,54,543,5432,5432110 mins
- WAP to generate the following series 54321,5432,543,54,510 mins
- WAP to generate the following series 88888888,666666,4444,2210 mins
- WAP to generate the following series 13579,1357,135,13,110 mins
- WAP to generate the following series 1,23,456,7891010 mins
- WAP to generate the following series 123456789,1234567,12345,123,110 mins
- WAP to generate the following series ½, 2/3, ¾……….15th term10 mins
- WAP to generate the following series 2,4,6,8………….12th term10 mins
- WAP to generate the following series 2,3,5,8,13…………10th term10 mins
- WAP to generate the following series 11,3,14,17,31………….18th term10 mins
- WAP to generate the following series 1,4,9…………..9th term10 mins
- WAP to generate the following series 9,28,14,7,22,11…………..10th term10 mins
- WAP to generate the series 1,4,7,10………….12th terms10 mins
- WAP to generate the series 10,20,30………10010 mins
- WAP to generate the series 100,95,90…………………..10th term10 mins
- WAP to generate the series 1,8,27……………8th10 mins
- WAP to generate the series 2,22,222………..13th term10 mins
- WAP to generate the series 55555,5555,555,55,510 mins
- WAP to generate the series 1,2,3,5…………9th terms10 mins
- WAP to generate the series 2,2,4,6,10………….13th term10 mins
- WAP to generate the series 3,10,5,16………………11th term10 mins
- WAP to generate 7,22,11,34……………19th terms10 mins
- WAP to generate the series10,12,15,19…………..14th terms10 mins
- WAP to generate the series 50,46,41,35…………..7th terms10 mins
- WAP to generate the series .1,0.01,0.001,0.0001,0.0000110 mins
- WAP to generate the series 0.00003,0.0003,,0.003,0.03,0.310 mins
- WAP to display numbers 1,3,5……..3010 mins
- WAP to generate the following series 1,121,12321,1234321,12345432110 mins
- WAP to generate the following series 11111,1111,111,11,110 mins
- WAP to display 3,6,12,24………15th terms10 mins
- WAP to display -30,-20,-10,0,10,……………20th terms10 mins
- WAP to generate the following series 5,55,555,5555,5555510 mins
- WAP to display numbers 30,28.5,27,25.5…….9th terms10 mins
- WAP to generate the series 1,5.25,125…..10th terms10 mins
- WAP using to display 50,75,100,125,15010 mins
- WAP using to display 1, 10, 101, 1010, 1010110 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display10 mins
- WAP to display20 mins
No Comments