Category: C++ Programming
10 posts
Program to Find Slope of a Line in C++
In the realm of mathematics and computer science, understanding the slope of a line is crucial for various applications, ranging from graphics programming to scientific simulations. In this comprehens... Read Mores
Prathmesh Yelne
14-May-2024 13:46:45
Program to Find Sum of Series 1 + 2 + 2 + 3 + 3 + 3 + … + n in C++
The sum of series problems often serve as fundamental exercises in programming, helping developers grasp essential concepts such as loops, conditional statements, and arithmetic operations. In this ar... Read Mores
Prathmesh Yelne
13-May-2024 19:20:00
September 11, 2020
2.2 K Views
GCP Cloud Engineer
21 hours ago
How to Remove Duplicates From a Given String
Duplicate characters within a string can clutter data and complicate processing. Whether you're a programmer, a data analyst, or just someone trying to clean up their text, knowing how to rem... Read Mores
Prathmesh Yelne
01-Apr-2024 15:19:18
How to Print List Items Containing All Characters of a Given Word
In programming, there often arises the need to search through a list of items and find those that contain all the characters of a given word. This task can be efficiently accomplished using v... Read Mores
Prathmesh Yelne
01-Apr-2024 9:40:40
73 Views
C Programming, C++ Programming, Data Structure & Algorithms, Java, Programming, Python
6 months ago
September 11, 2020
2.2 K Views
GCP Cloud Engineer
21 hours ago
C++ Program to Calculate Area of Right Angle Triangle
Introduction:
In geometry, a triangle is a three-sided polygon with three angles. Right angle triangle is a special type of triangle which has one angle of 90 degrees. The area of a right angle triang... Read Mores
Prathmesh Yelne
09-Apr-2023 10:53:56
Count of permutations of size 2N with at least N increasing elements
Permutations are arrangements of objects in a specific order. In mathematics, a permutation of a set is an arrangement of its elements, without repetition and order being important. Permutations play ... Read Mores
Prathmesh Yelne
01-Apr-2023 17:29:30
September 11, 2020
2.2 K Views
GCP Cloud Engineer
21 hours ago
Write C++ Program to Find Quotient and Remainder
In this example, you will learn to find the quotient and remainder of a given dividend and divisor.
In this program, the user is asked to enter two integers (divisor and dividend) and the quo... Read Mores
Prathmesh Yelne
21-Dec-2021 14:21:21
Write C++ Program to Add Two Numbers
In this program, user is asked to enter two integers. Then, the sum of those two integers is stored in a variable and displayed on the screen.
#include <iostream>
using namespace std;
int... Read Mores
Prathmesh Yelne
21-Dec-2021 13:13:22
September 11, 2020
2.2 K Views
GCP Cloud Engineer
21 hours ago
Write C++ Program to Print Number Entered by User
In this example, you'll learn to print the number entered by a user using C++ cout statement.
Program :
#include <iostream>
using namespace std;
int main() {
int number;
... Read Mores
Prathmesh Yelne
21-Dec-2021 13:03:14
Write a program in C++ to print Hello World
Program : To print hello world using C++
// Your First C++ Program
#include<iostream>
int main() {
std::cout << "Hello World!";
return 0;
}
Output :
Hello World!
Explanation:... Read Mores
Prathmesh Yelne
09-Apr-2023 11:00:56
September 11, 2020
2.2 K Views
GCP Cloud Engineer
21 hours ago