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.
2) Write a program that asks any two numbers and display the greater one.
3)Write a program that checks whether the supplied number is odd or even.
4) Write a program that asks any two numbers and display the difference between the greater and smaller one.
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.]
6) Write a program to print the smallest number among 3 input numbers.
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.]
8) Write a program using FOR...NEXT statement to print natural number up to 15.
9)Write a program using FOR....NEXT statement to print even number from 2 to 20.
10)Write a program using FOR...NEXT statement to print first 10 odd numbers.
11) Write a program using FOR...NEXT to generate numbers: 2, 5, 8, 11, ..........32.
No comments:
Post a Comment