Program to Find Cube of a Number using Function
Function in programming languages used to perform specific tasks. The functions increase the reusab…
Program to find quotient and remainder of two numbers
In this programming tutorial, we will write a program to find the quotient and remainder of two num…
Write a Program to Print the Given Series: 1 2 4 8 16 32 64 128
We all studied several sequences or series of mathematics in our childhood, such as arithmetic sequ…
Program to calculate sum and average of three numbers
In this tutorial, we will learn how to write a script in C, C++, and Python to calculate the sum an…
Write a Program to Print Three Numbers in Descending Order: A Step-By-Step Guide
Let's say we have three numbers and need to sort them in descending order. How would …
Write a Program to convert a lowercase alphabet to uppercase or vice-versa using ASCII code
ASCII stands for American Standard Code, and it represents a unique numeric value for every charact…
Minimum Edit Distance
Problem Statement You are given two strings, string1 and string2, your task is to perform the op…
Majority Element - How to Find?
We have been given an integer array of size ‘n’, we have to print the majority element …
A Guide to Flatten List & List of Lists in Python
Python List is one of the widely used Python data containers. A list can store multiple data object…
How to Convert a List to Dictionary in Python?
List and Dictionaries are the two most prominent built-in data structures in Python. A list is gene…
Program to convert first letter of each word of a string to uppercase and other to lowercase
In this tutorial, we will write the logic in 3 different programming languages that will accept a s…
Program to Addition, subtraction and multiplication of two numbers using function
In this programming tutorial, you will learn how to write a program in three different programming …