QBASIC – Convert kilometers to meters

Overview Below is the QBASIC program to convert distance in kilometers to meters. Output Explanation To convert distance in kilometers into meters, first, accept distance in kilometers from the user using the formula: meters = K * 1000. More Programs https://thinkshare.one/learn/programming/qbasic/

QBASIC – Calculate simple interest and the total amount

Overview Below is the QBASIC program to calculate the simple interest and the total amount given the principal amount, time and rate of interest. Output Explanation: Let’s first see the formula of simple interest: si = (p * t * r)/100. So, we can determine the simple interest by taking the principal, time, and rate from …

QBASIC – Calculate simple interest and the total amount Read More »

QBASIC – Volume of a cuboid

Program Below is the QBASIC program to calculate the volume of cuboid. Output Explanation Let’s first see the formula:  Volume = l * b * h. So, we can determine the volume of a cuboid by taking the length, breadth, and height from the user and multiplying the length, breadth, and height together. More Programs https://thinkshare.one/learn/programming/qbasic/