QBasic Program to Check if a Number is Palindrome or not

Write a program to check if a number is palindrome or not in QBasic. For example, Input 12321 Output Palindrone Input 43823 Output Not Palindrome What is Palindrome number? A number is palindrome if it is equal to it’s reverse. For example, reverse of 121 is also 121, this implies 121 is palindrome whereas reverse … Read more QBasic Program to Check if a Number is Palindrome or not

QBasic Program to Check if Number is Even or Odd

Write a program in QBasic to check if the input number is even or odd. Program using IF..ELSE Program using only IF Program using Select Case Program using subroutine Program using subroutine – Passing input as an argument Program using Function Program using Function – Passing input as an argument Program using Function – Passing … Read more QBasic Program to Check if Number is Even or Odd