c#

C# string.ToLower method explanation with example

C# program example of string.ToLower method. ToLower method is used to convert a string to lowercase. Let's learn it with an example.

Read
c#

C# program to remove the last n characters from a string

C# program to remove the last n characters from a string. Learn to do it by using Remove and by using Substring methods.

Read
c#

C# program to remove first n characters from a string

C# program to remove the first n characters from a string. We will learn two different ways to do that in C#.

Read
c

C program to get the integer and fraction or decimal part

C program to get the integer and fraction or decimal parts from a given floating-point number in C. We will learn how to do that by casting the number to integer and by using modf.

Read
c

C program to convert decimal to binary

C program to convert a decimal number to binary. This post will show how to do the conversion by using an array and by using pointers.

Read
C++

C++ program to print all odd numbers from 1 to 100

4 different C++ programs to print all odd numbers from 1 to 100. We will learn how to do that by using a for loop, while loop, do...while loop and by jumping between the numbers.

Read
python

Python numpy empty_like method example

Python numpy empty_like method example. empty_like method returns a new array with same shape and type as the given array.

Read
python

Python numpy interp method example

Python numpy interp method example to calculate one-dimensional piecewise linear interpolant and learn how to plot data on graph.

Read
C++

Implement bubble sort in C++

C++ program to implement bubble sort. Bubble sort is a sorting algorithm we can use to sort a list. It is a comparison algorithm to sort items.

Read
typescript

How to create an array of objects in TypeScript

How to create an array of objects in TypeScript. Learn 5 different examples of array object creation in TypeScript

Read