Scala Program to Find GCD of Two Numbers

GCD stands for Greatest Common Divisor. The GCD of two numbers is the largest common number that di…

Scala Program to Create a Square of the Maximum Side, Given two Planks of Wood with Size as Integer Numbers

Problem Statement Create a square of the maximum possible side from two planks of wood, where th…

Scala Program to Display Fibonacci Series

In this article, I’ll walk you through what a Fibonacci series is and how to write a Scala pr…

Scala Program to Check Palindrome

In this article, we are going to learn about the term palindrome and how we can check if input data…

Scala Program to Check a Leap Year

According to Nasa Science, the earth requires approximately 365.242375 days to orbit around the sun…

Scala Program to Find the Largest Among Three Numbers

In this article, we shall learn how to compare three numbers entered by a user, identify the larges…

Scala Program to Check Whether an Alphabet is Vowel or Consonant

In the previous blog, we helped you write a Scala program to check whether a number is even or odd.…

Scala Program to Check Whether a Number is Even or Odd

We all have been very much familiar with even and odd numbers since childhood. Wouldn’t it be…

Scala Program to Swap Two Numbers

Swapping in computer programing is a memory management technique. It is an act of exchanging values…

Scala Program to Compute Quotient and Remainder

In this tutorial, we are going to learn to write a Scala program to calculate the quotient and rema…

Scala Program to Find the ASCII Value of a Character

In this tutorial, you can learn how to write a Scala program to find and print the ASCII value of a…

Scala Program to Print Hello World

The most basic and the first program we all implement while learning any programming language&…