Introduction to Swift Array - swift 3/swift 4/swift 5

Introduction with examples to swift array for beginners. Swift array is used to store values of similar type. This post will show you how to use swift array with examples.

Read

Swift program to check if two strings or characters are equal

In swift, we can compare two strings or two characters using 'equal to ' and 'not equal to' operators. Learn how to check if two strings or characters are equal in swift.

Read

Checking Prefix and Postfix of a String in Swift 4

Swift program to check if a string is starting with different sub-string or ends with a different substring. Learn how to do Prefix and Postfix checking in swift with example.

Read

Java program to find union and intersection of two sorted Arrays

How to find the union and intersection of two sorted arrays in Java. Learn how to do this with example.

Read

Java program to print triangle or reverse triangle using any character

In this tutorial, we will show you how to print a Triangle in Java. We can print the Triangle using any character like *,&,$ etc.

Read

Java program to print a Rhombus pattern using star

How to print a Rhombus pattern using star, number or any character in Java. It will take the character and size of the rhombus and print the pattern.

Read

Java program to print multiplication table of a number

How to print a multiplication table in Java. This Java program will take one number as user input and print the multiplication table.

Read

Python Program to find the LCM of two numbers

What is an LCM value of two numbers? LCM or least common multiplier of two numbers is the smallest number that is divisible by both of these numbers. i.e. the lowest number starting from 1, that is divisible by both.

Read

How to check if a date is valid or not in python

This tutorial is to find out if a date is valid or not using python. If a date actually exists in the calendar, it is called valid. We will write one python program to check the validity of any user-provided date.

Read

3 ways in Python to count the number of digits of a number

3 different ways to find the total number of digits of a number in Python. We will learn how to calculate the digit count by using a while loop, for loop and by calculating the length of the string with the len() method.

Read