AYUSH MISHRA has Published 134 Articles

Remove all even numbers from an array in C#

AYUSH MISHRA

AYUSH MISHRA

Updated on 24-Jan-2025 16:21:11

19K+ Views

Natural numbers are a set of positive integers, which are commonly used for counting and ordering. They begin from 1 and continue infinitely. In some contexts, it may also include 0. Here, we are going to learn about different approaches to removing all odd numbers from a given array using ... Read More

C++ Program to Print Hollow Square Pattern

AYUSH MISHRA

AYUSH MISHRA

Updated on 23-Jan-2025 23:11:31

20K+ Views

When we start learning to code, practicing star patterns is one of the best ways to improve logic building. One of the simplest yet fascinating patterns is the hollow square pattern. In this article, we are going to learn how to print a Hollow Square Pattern using C++. What is ... Read More

Remove all odd numbers from an array in C#

AYUSH MISHRA

AYUSH MISHRA

Updated on 22-Jan-2025 17:01:46

4K+ Views

Natural numbers are a set of positive integers, which are commonly used for counting and ordering. They begin from 1 and continue infinitely. In some contexts, it may also include 0. Here,  we are going to learn about different approaches to removing all odd numbers from a given array using ... Read More

PHP Program for Binary to Decimal Conversion

AYUSH MISHRA

AYUSH MISHRA

Updated on 22-Jan-2025 12:35:05

6K+ Views

Binary to decimal conversion is the process of converting a binary number i.e., number represented using only two bits 0s and 1s into its equivalent decimal number i.e., base 10 form. In this article, we are going to learn how we can convert the binary form of a number to ... Read More

Java Program to Find the Volume of Capsule

AYUSH MISHRA

AYUSH MISHRA

Updated on 22-Jan-2025 11:07:50

6K+ Views

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 on both sides of the cylindrical ... Read More

JavaScript program to find the average of all negative numbers in an array

AYUSH MISHRA

AYUSH MISHRA

Updated on 22-Jan-2025 11:06:46

6K+ Views

In this problem, we are given an array of integers, which may contain both negative and positive numbers. We have to find the average of all the negative numbers in the array. In this article, we are going to learn how we can find the average of all negative numbers ... Read More

Python Program for Fahrenheit to Celsius conversion

AYUSH MISHRA

AYUSH MISHRA

Updated on 21-Jan-2025 18:46:44

14K+ Views

Problem Description In this problem, we are given a temperature value in Fahrenheit and we have to convert it to Celsius. This conversion is used in various real-world applications such as weather applications, scientific calculations, and data analysis. In this article, we are going to discuss, how we can convert ... Read More

Remove Duplicates from an Unsorted Array in C++

AYUSH MISHRA

AYUSH MISHRA

Updated on 21-Jan-2025 18:46:15

6K+ Views

Problem Description In this problem, we are given an unsorted array, and the task is to remove all duplicate elements from the array. The resulting array should only contain unique elements. In this article, we are going to explore different approaches to removing duplicates from an unsorted array in C++. ... Read More

C++ program to calculate potential energy if mass and height are given

AYUSH MISHRA

AYUSH MISHRA

Updated on 20-Jan-2025 19:10:49

14K+ Views

What is Potential Energy? Potential energy is a type of stored energy stored by an object due to its position relative to other objects. It is an important concept in physics and is commonly calculated when studying objects in gravitational fields. In this tutorial, we are going to learn how ... Read More

Finding sum of alternative elements of the array using C++

AYUSH MISHRA

AYUSH MISHRA

Updated on 17-Jan-2025 19:38:41

7K+ Views

The sum of alternate elements has various real-life applications such as signal processing, data compression, pattern recognition, gaming, and financial data analysis. Problem Description In this article, we are going to learn how to find the sum of alternate elements of an array in C++. Alternate elements are present at ... Read More

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