python

How to convert a python string to the hexadecimal value

Python program to convert a string to hexadecimal value. Hexadecimal value starts with 0x. This program will show you how to convert string to hex in python.

Read
javascript

3 different JavaScript program to convert a set to array

JavaScript program to convert a set to array. Set holds unique values and array can have duplicate values. We will learn 3 different ways to convert a given set to array in JavaScript.

Read
javascript

How to stop forEach() method in JavaScript

Learn how to stop forEach method in JavaScript. forEach is used to iterate through array items. This post will show you how to stop this method in between.

Read
javascript

JavaScript program to get the selected value from a dropdown list of items

JavaScript program to get the selected value from a dropdown list of items. We will create one HTML file that will show one dropdown to the user and using JavaScript, it will get the selected value.

Read
C++

C++ program to print the rightmost digit of a number

C++ program to print the rightmost digit of a number. The C++ program will take one number as input from the user and print out the rightmost digit on the console.

Read
kotlin

Binary search implementation in Kotlin for a list of custom objects

Kotlin binary search implementation for a list of custom objects. Kotlin collection class provides a binary search method that can be used to search in a list.

Read
C++

C++ program to find the first digit of the factorial of a number

C++ program to find the first digit of the factorial of a number. The program will take one number as input from the user and print the first digit of the factorial.

Read
flutter

How to create an Alert dialog in Flutter

Learn how to create an alert dialog in flutter. AlertDialog class is used to create an alert dialog in flutter. In this post, we will learn how to use this class with example.

Read
javascript

3 ways to print a multiplication table in JavaScript

Learn to print a multiplication table in HTML, CSS and JavaScript. We will read the number as input from the user and it will print the multiplication table on a button click.

Read
flutter

How to create a Floating Action Button in Flutter

Learn how to create a floating action button or FAB in flutter. This is a button that is placed always on above other views and an important component in material design applications.

Read