Learn default arguments in Kotlin functions with example

This post is about "default arguments" in kotlin and their use cases.

Read

Convert string to float in python

Python program to convert string to float. This tutorial will show you how to convert one single item or list of string items to float in python with different examples.

Read

Python Set intersection example

Union and intersection are two important set-operations. In this blog post, we are going to discuss the intersection of two sets in Python. An intersection is used to find out the common elements between two Sets. Symbol ‘∩’ is used to denote intersection. Set contains common elements and the intersection of two sets will find out all common elements between the two sets.

Read

Find out the multiplication of two numbers in Python

Python program to find out the multiplication of two numbers. We will take the numbers as inputs from the user to find out the multiplication. Learn how to find the multiplication with example.

Read

How to intersect two arrays in Kotlin

The intersection is used to find out the common elements in two arrays. For example, if array A holds 1,2,3,4,5 and array B holds 2,5,6, the intersection between A and B will be 2,5.In this tutorial, we will learn how to find out the intersection between two array elements.

Read

How to write json data to a file in Java

JSON or javascript object notation is a simple form to represent complex data. Using JSON, we can easily transfer data to a different platform. For example, we can create one JSON object on our web application and share it with an Android or iOS application. As JSON rules are standard, all applications can share any information easily.

Read

Read json content from a file using GSON in Java

This tutorial will show you how to read JSON content from a file in Java using the GSON library.

Read

C program to count and print frequency of each letter in a word

In this tutorial, we will learn how to count and print the frequency of each letter in a word in C programming. Our program will take the input from the user, calculate and print out the frequency of each character in the word one by one.We will use for-loop to calculate the frequency.Before going to show you the program, let me explain how the algorithm works.

Read

C program to find out the palindrome number in a range

In this C programming tutorial, we will learn how to find out all palindrome numbers in a range. Palindrome numbers are numbers that looks the same if reversed. For example, 141 is a palindrome number but 122 is not.

Read

C program to find compound interest using user input values

In this C programming tutorial, we will learn how to find the compound interest for a time interval using user input values. The user will enter the values and our program will calculate and print out the compound interest.

Read