Friday, August 25, 2017

QBASIC PROGRAMMING

1)  Write a program that asks mark in any three subjects and display the message "Result Pass" if the input number is greater than 40.


Output


2)  Write a program that asks any two numbers and display the greater one.


Output


3)  Write a program that checks whether the supplied number is odd or even.


Output


4) Write a program that asks any two numbers and display the difference between the greater and smaller one.


Output


5)Write a program that asks your age and tell whether you eligible to vote or not.[A person who is 18 years old or above is eligible to vote.]


Output


6) Write a program to print the smallest number among 3 input numbers.


Output


7) Write a program that asks the marks in 3 different subjects and display message pass or fail.[The marks for each subject is 40.]


Output


8) Write a program using FOR...NEXT statement to print natural number up to 15.


Output


9)Write a program using FOR....NEXT statement to print even number from 2 to 20.


Output


10)Write a program using FOR...NEXT statement to print first 10 odd numbers.


Output


11) Write a program using FOR...NEXT to generate numbers: 2, 5, 8, 11, ..........32.


Output



12)Write a program to print numbers; 100, 95, 90.......5 using FOR...NEXT statement.


Output


13) Write a program to print sum of first 15 natural numbers using FOR...NEXT statement.


Output


14)Write a program to print sum of even numbers from 2 to 10 using FOR...NEXT statement.


Output


15)Write a program to print sum of odd numbers between 1 to 21 using FOR.....NEXT statement.


Output


16)Write a program to print even number from 20 to 40.


Output


17)Write a program to find the product of first 10 natural numbers.


Output


18)Write a program to generate multiplication table of input number.


Output


19)Write a program to print numbers 1, 8, 27.......1000.


Output


Monday, August 7, 2017

FATHER DAY

fathers day

My father name is mingma Sherpa. my father is 35 years old.my father works in Afghanistan. Father’s Day is a day out of the year when kids give their FATHER gifts and presents and the one great thing, which is love. Father’s day is only one day, but what about the other 364 days of the year? Do you just sit around and not love your dad? Father’s Day should be every day because FATHER give and do a lot to help their kids.
Father’s Day means a lot to me because I can spend a whole 24 hours with my dad! My dad and I might go to the movies, we might play sports, we go to eat, and we might go swimming or even stay at home to watch TV. I am just happy I can spend as much time as possible with my father on this special day.
On the other hand, since my father is the best father in the whole wide world, on Father’s day weekend I go searching for the perfect present. I know my father is going to love whatever I get for him. I have fun every Father’s Day because I get to be with my father.
HEY DAD!
Father’s Day is a day out of the year when kids give their FATHER gifts and presents and the one great thing, which is love. Father’s day is only one day, but what about the other 364 days of the year? Do you just sit around and not love your dad? Father’s Day should be every day because FATHER give and do a lot to help their kids.
Father’s Day means a lot to me because I can spend a whole 24 hours with my dad! My dad and I might go to the movies, we might play sports, we go to eat, and we might go swimming or even stay at home to watch TV. I am just happy I can spend as much time as possible with my father on this special day.
On the other hand, since my father is the best father in the whole wide world, on Father’s day weekend I go searching for the perfect present. I know my father is going to love whatever I get for him. I have fun every Father’s Day because I get to be with my father.
In conclusion, Father’s Day is the day where I get to spend time and have fun with my dad. My Dad is the best. He’s the reason why Father’s Day is so special for both of us!