QBASIC
QBASIC category contains programs written in QBASIC programming language. This is an archive page that contains the collection of programs written in that language.
About Me:
I am a web developer with expertise in web development using various web technologies.
I have always been fascinated and enthusiastic about technology ever since my childhood. I always wanted to be familiar with what, why, and how of technologies. Web development has been my only passion ever since I started learning it. Following this passion, I have always been ready to learn new technologies and implement them in my projects.
I do have expertise in coding and have a good understanding of various languages like QBASIC, C/C++, Python, Java, Ruby, etc. along with front-end technologies like HTML, CSS, JavaScript, jQuery, AJAX, React, and Vue. I also have experience in developing websites and web applications using backend technologies like PHP, Ruby on Rails in combination with the database system MySQL.
Website: https://developeranil.tech
Make sure to post the comments for each program if you have any issues. I will respond to it as soon as possible.
Overview Below is a QBASIC program to find if a number entered by the user is even or odd using FUNCTION Procedure i.e., FUNCTION…END FUNCTION. Using SUB…END SUB: QBASIC – Even or Odd Using SUB Procedure Check Even or Odd Without Parameters Check Even or Odd With Parameters Output – Even or Odd using Function …
QBASIC – Even or Odd using FUNCTION Procedure Read More »
Overview Below is a QBASIC program to find whether a number entered by the user is even or odd using SUB Procedure i.e., SUB…END SUB. Using FUNCTION…END FUNCTION: Even or Odd using FUNCTION Procedure Without Parameters With Parameters: Output – Even or Odd using SUB Procedure Explanation Notice there is no any dollar ($) sign …
QBASIC – Even or Odd using SUB Procedure Read More »
Introduction Modular programming is an approach to programming where a program is divided into smaller programs or sub-programs. QBASIC supports modular programming in which a program is divided into the main module and its sub-modules (also known as procedures) where each sub-module has its own name and independent functionality. Types of procedures There are two …
Discover Modular Programming in QBASIC Read More »
View More QBASIC Programs Here Overview Below is the program to find the smaller number among any two user-entered numbers. REM Program to find the smaller number among two numbers CLS INPUT “Enter the first number: “; a INPUT “Enter the second number: “; b IF a < b THEN PRINT a; ” is smaller …
QBASIC – Easy to find smaller number among two numbers Read More »
Overview Below is the program to find the greater number among any two user-entered numbers. REM Program to find the greater number among two numbers CLS INPUT “Enter the first number: “; a INPUT “Enter the second number: “; b IF a > b THEN PRINT a; ” is greater than “;b ELSE PRINT b; …
QBASIC – Easy to find greater number among two numbers Read More »
Overview Below is the program to check whether a person is eligible to vote or not. Output Explanation To check if the person is eligible to vote or not, first, ask the user the age of the person and check if the age is greater than or equal to 18 (>=18), if the condition satisfies, …
QBASIC – Eligible to vote or not. Read More »
Overview Below is the program to check whether a user input number is positive, negative, or zero. Output Explanation Let’s first understand positive, negative, and zero numbers. Positive numbers are the ones that are greater than 0 while negative numbers are the ones that are lower than 0 and obviously 0 is a zero. So, …
QBASIC – Check if a number is positive, negative, or zero Read More »
Overview Below is the program to check whether a user input number is divisible by 5 or not. Output Explanation To check if a number is divisible by any number, we will be using the modulo operator (MOD). In this program, we need to check if the number is divisible by 5 or not, so …
QBASIC – Check if a number is divisible by 5 or not easily Read More »
Overview Below is the QBASIC program to calculate the distance traveled from initial velocity, time, and acceleration. Output Explanation Let’s first see the formula: S = u * t + (1/2) * a * t ^2. To convert distance traveled, first, ask the initial velocity (u), time taken (t), and acceleration (a) from the user and …
QBASIC – Calculate distance traveled quickly Read More »