## Scala program to check whether a given number is EVEN or ODD

How to check whether a given number is even or odd using the scala programming language. In this post, we are going to see two different methods to check whether the number is ODD and Even. The first method is by using the if else condition and the second method is by using ternary operator. … Read more

## Scala program to find the largest number among three numbers

In this post, we are going to see how you can find the largest number among three numbers. This program can be made by using so many ways. We are going to learn about 2 possible ways to make this program. The first method is by using the ternary operator, the second is if else … Read more

## Scala program to find the largest number between two numbers

In this post, we are going to see how you can find the largest number between two numbers. This program can be made by using so many ways. We are going to 3-4 possible ways to make this program. find the largest number between two numbers using the ternary operator Output Note: Use Stdin to … Read more

## Scala Program to read and print the value of the Data Types

So far we have seen the most basic programs. Now we are going to level up this a little bit. How to read and print the value of the Data Types in scala programming? In this program, we are going to take the user input and then print it to the console screen. Scala Program … Read more

## Scala Program to Print the Hexadecimal & Octal value of the number

How to print the hexadecimal and octal value of any number in Scala Programming. Here, I am sharing the source code to print hexadecimal numbers and decimal values of any given number. Scala Program to print Hexadecimal and Octal values of number First, we declare a variable number and assign it to the value 15. … Read more