Posts by Yash Shakya

Author Biographical Info: Electrical Engineering student from Central University of Karnataka
Ready to help :)
29 Feb. my Birth date
Rare but exists..so am I :>

Find all pairs of number whose sum is equal to a given number in C++

By Yash Shakya

This C++ program is able to find all the pairs of numbers in an array whose sum is equal to a specific number by using a nested loop and conditional statements. This problem is bas.... Read More

Find nature of roots and actual roots of Quadratic equation in C++

By Yash Shakya

This C++ program is able to find nature or roots and the actual roots of given quadratic equations in C++ whose values are the user has entered. There is a method called quadratic .... Read More

Find the next greater number from the same set of digits in C++

By Yash Shakya

In this tutorial, we are going to find the next greater number from the same set of digits in C++. We can form many numbers by the different combination of a given set of digits in.... Read More

Switch statement in C++

By Yash Shakya

In this tutorial, we are going to learn about one of the basic statements used in C++ language that is switch statement in C++. If you are searching for syntax and a complete expla.... Read More

How to print arrays’s mirror image of 2D array (3X3) in C++

By Yash Shakya

In this tutorial, we are going to write a program to enter integers in a 2D array (3X3) and display the array’s mirror image in C++. This program is a very important program .... Read More

Convert First letter of each word to uppercase in C++

By Yash Shakya

In this tutorial, we are going to learn how to convert the first letter of each word in a string to uppercase in C++. The format of the data required in various areas is different..... Read More

How to swap two numbers without using third variable in C++

By Yash Shakya

In this tutorial, we will learn how to swap two numbers (without using third variable) in C++ in a very easy and interesting way. While we are doing programming at a professional .... Read More

How to remove or eliminate the extra spaces from a given string in C++

By Yash Shakya

In this tutorial, we are going to eliminate or remove the extra spaces from a given string in C++. It is a basic question which is based on the concept of arrays. This technique is.... Read More