AYUSH MISHRA has Published 134 Articles

Python program to find perimeter of rectangle

AYUSH MISHRA

AYUSH MISHRA

Updated on 15-Jan-2025 18:55:09

5K+ Views

A rectangle is a closed two-dimensional figure having 4 sides. The opposite sides are equal and parallel. The angle made by the adjacent side is equal to 90 degrees. The perimeter is the sum of all sides; in other words, the perimeter is two times the sum of length and ... Read More

Python program to find volume of capsule

AYUSH MISHRA

AYUSH MISHRA

Updated on 15-Jan-2025 18:53:14

5K+ Views

What is Capsule and Its Volume? A capsule is a three-dimensional geometric figure that consists of a cylindrical body with hemispherical ends on both sides. The volume of a capsule can be calculated by adding the volume of the cylindrical part and the volume of the two hemispherical ends present ... Read More

PHP Program to Count Vowels in a String

AYUSH MISHRA

AYUSH MISHRA

Updated on 15-Jan-2025 18:47:35

7K+ Views

A string is a sequence of characters, including alphabets, numbers, and symbols. In this tutorial, we are going to learn how we can count the number of vowels in a given string in PHP using different approaches. Vowels in English are a, e, i, o, u, and they can be ... Read More

Python program to find perimeter of square

AYUSH MISHRA

AYUSH MISHRA

Updated on 15-Jan-2025 18:45:19

4K+ Views

A square is a closed two-dimensional figure having 4 equal sides. Each angle of a square is 90 degrees. The perimeter of a square is the sum of all its sides. Problem Description In this problem, we are given the side of a square, and we have to find the ... Read More

C# Program to Subtract Two Numbers

AYUSH MISHRA

AYUSH MISHRA

Updated on 09-Jan-2025 12:06:16

6K+ Views

Problem Description In this problem, we are given two numbers, and we have to find the value obtained after subtracting one number from another. In this article, we are going to learn how we can subtract two numbers in C# using different approaches. Example 1 ... Read More

Check If a Number Is Greater Than Zero in C++

AYUSH MISHRA

AYUSH MISHRA

Updated on 07-Jan-2025 18:52:04

4K+ Views

Problem Description In this problem, we are given a number and have to check whether this number is greater than zero. Using the if-else and ternary approach to check if the given number is greater than zero, equal to zero, or less than zero. In this article, we will discuss ... Read More

Find the duplicate in an array of N+1 integers using C++

AYUSH MISHRA

AYUSH MISHRA

Updated on 06-Jan-2025 19:34:38

4K+ Views

Problem Description In this problem, we are given an array that contains all unique elements except one element which is present exactly two times in the array. We have to return that element which is present two times in the array. In this article, we are going to learn how ... Read More

C# Program to Return Quadrant in which the Coordinate Lie

AYUSH MISHRA

AYUSH MISHRA

Updated on 06-Jan-2025 19:13:12

4K+ Views

Cartesian-coordinate System and Quadrants The cartesian-coordinate system is divided into four Quadrants: Quadrant I, Quadrant II, Quadrant III, and Quadrant IV. In this article, we are going to learn how we can determine the quadrant in which given points i.e., x and y, lie in C#. Problem Description We are ... Read More

C++ Program to Calculate the Distance Between Two Points

AYUSH MISHRA

AYUSH MISHRA

Updated on 06-Jan-2025 19:10:45

4K+ Views

Problem Description In this problem, we are given coordinate points of a 2-dimensional plane and a 3-dimensional plane, and we have to find the distance between these two points. In this article, we are going to discuss how we can find the distance between two points in C++. Approaches ... Read More

C Program to Find an Automorphic Number

C
AYUSH MISHRA

AYUSH MISHRA

Updated on 06-Jan-2025 19:01:50

5K+ Views

Problem Description We are given a number and we have to check whether it is an automorphic number or not. An Automorphic Number is a number whose square ends with the number itself. For example, ... Read More

Previous 1 ... 6 7 8 9 10 ... 14 Next
Advertisements