Round up to nearest power of 2 in C++

By Mahak Chawla

In this tutorial, we will learn how to round off a given number to the nearest power of 2 in C++. For example, Input: n= 19 Output: 16 There can be two cases. The power of 2 can be.... Read More

Remove a specific character from a string in Swift

By Ashutosh Dhanwe

In this tutorial, we will learn how to remove a specific character from a string in Swift with a simple example. How to remove a specific character from a string in Swift To remove.... Read More

How to terminate program in C++

By Karandeep Singh

Hey, guys… Today we are going to learn how to terminate a program in C++. We can terminate a program in C++ in different methods that are listed below: By using exit() functi.... Read More

Go to a new view in SwiftUI

By shagrafnasheet

This SwiftUI tutorial will help you to learn to navigate to a new view in SwiftUI. We’ll be accomplishing this using the Navigation view and Navigation link. It will send the.... Read More

Python Program to replace a word with asterisks in a sentence

By Amruth Kumar

In this tutorial, we are going to learn how to replace a word in a word with asterisks in a sentence using Python. Replacing a word with asterisks in a string This program is very .... Read More

Use apply() function for a single column in Pandas

By yaswanth vakkala

Pandas is a popular Python library used for data analysis and data manipulation. It is an open-source, fast, easy-to-use, powerful library built on top of the NumPy library, which .... Read More

timezone converter in C++

By Karandeep Singh

Hey, guys today we are going to learn how to create a timezone converter in C++ using built-in functions only. Before starting with the code one should have basic knowledge of time.... Read More

C++ program to calculate the area of kite

By Karandeep Singh

Hey, guys today we are going to learn how to write a program to calculate the area of a kite. Before starting with the program, let us study the shape of the kite. Kite is a two-di.... Read More

Related Posts