Programming
The programming category contains programs from programming different languages like QBASIC, Python, C, C++, etc. This is an archive page that contains the collection of programs from all the languages under that category.
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.
Program Below is the QBASIC program to calculate total surface area of a sphere. Output Explanation Let’s first see the formula: tsa = 4 * pi * r ^ 2, where the value of pi is 3.14. So, we can determine the total surface area of any sphere by taking the radius of the sphere …
QBASIC – Total Surface Area of a sphere Read More »
Below is the QBASIC program to calculate the area of a triangle when all three sides are given. Explanation: First the formula: Area = ((s*(s-a)*(s-b)*(s-c))^(1/2)). Let’s break and understand the formula. The formula has frequent use of s variable. Here, s is the semi-perimeter of the triangle, calculated using formula; s = (a + b + …
QBASIC – Area of a triangle when all three sides are given Read More »
Below is the QBASIC program to calculate the area of a triangle. Explanation: Let’s first see the formula: Area = 1/2 * b * h. So, we can determine the area of the triangle by taking the base and height of the triangle from the user and multiplying the product of base and height by 1/2 …
QBASIC – Area of a triangle Read More »
Below is the QBASIC program to calculate the area of four walls. Explanation: Let’s first see the formula: Area = 2 * h * (l + b). So, we can determine the area of four walls by taking the length, breadth, and height of four walls from the user and multiplying the sum of length and …
QBASIC – Area of 4 walls Read More »
Below is the QBASIC program to calculate the circumference of a circle. Explanation: Let’s first see the formula: Perimeter = 2 * pi * r, where the value of pi is 3.14. So, we can determine the perimeter of a circle by taking the radius of the circle from the user and multiplying the value …
QBASIC – Circumference of Circle Read More »
Below is the QBASIC program to calculate the perimeter of a rectangle. Explanation: Let’s first see the formula: Perimeter = 2 * (l + b). So, we can determine the perimeter of a rectangle by taking the length and breadth of the rectangle from the user and multiplying the sum of length and breadth by …
QBASIC – Perimeter of rectangle Read More »
Below is the QBASIC program to calculate the area of a circle. Explanation: Let’s first see the formula: Area = pi * r * r, where the value of pi is 3.14. So, we can determine the area of a circle by taking the radius of the circle from the user and multiplying the value …
QBASIC – Area of a circle Read More »
Below is the QBASIC program to calculate the area of a square. Explanation: Let’s first see the formula: Area = length * length or Area = length ^ 2. So, we can determine the area of a square by taking the length of the square from the user and multiplying the length by itself or …
QBASIC – Area of square Read More »
Below is the QBASIC program to calculate the area of a rectangle. Explanation: Let’s first see the formula: Area = length * breadth. So, we can determine the area of a rectangle by taking the length and breadth of the rectangle from the user and multiplying the length and breadth together.
The program below calculates the sum of cubes of two user input numbers. Explanation: To calculate the sum of cubes of two user input numbers. We are using the exponentiation operator (^) to calculate the cubes of the numbers i.e., a ^ 3 and b ^ 3 to calculate the cubes of a and b …
QBASIC – Calculate the sum of cubes Read More »