QBASIC – Volume of a cylinder
Program Below is the QBASIC program to calculate the volume of a cylinder Output Explanation Let’s first see the formula: volume = pi * r ^ 2 * h, where the value of pi is 3.14. So, we can determine the volume of any cylinder by taking the radius and height of the cylinder from …