python

Python program to convert inch to centimeter

Python program to convert inch to centimeter. We will learn two different ways to convert a user-given inch value to centimeter in Python.

Read
c#

C# isNullOrEmpty method explanation with examples

C# isNullOrEmpty method is used to check if a string is null or empty. Learn how to use isNullOrEmpty in C# with examples.

Read
c#

C# DivRem method explanation with examples

C# DivRem method is used to find the quotient and reminder of two numbers. Learn how to use DivRem with examples.

Read
C++

C++ program to find LCM using a separate function

C++ program to find LCM of two numbers using a separate function. We will write one separate function to find the lcm and this will return the lcm.

Read
c

C program to find the LCM of two numbers

C program to find the LCM or lowest common multiple of two numbers. This post will show you two different ways to do that.

Read
C++

emplace_back method in C++ explanation with example

emplace_back method is defined in std vector of C++. This post will show you how to use this method with example.

Read
java

How to reset a Scanner in Java

Learn how to reset a scanner in Java by using the reset() method. We will learn the definition of reset() method with example.

Read
java

Java program to find the cube of a number

Learn how to find the cube of a number in Java in two different ways. The program will take the number as input from the user and print the cube.

Read
python

How to convert hours to seconds in Python

Learn how to convert hours to seconds in Python. It will take the hours value as input from the user and convert it to seconds.

Read
python

How to convert a date to ISO8601 format in python

Python program to convert a date to ISO8601 format. isoformat() method is provided to convert a datetime object to ISO8601 in android.

Read