Potti Chandra Sekhar sai has Published 40 Articles

Haskell program to check armstrong number between two integers

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 07:20:08

240 Views

This tutorial will discuss writing a program to display Armstrong numbers between two Integers. Haskell is a Functional, Declarative, and Strongly Typed Language. Computations in Haskell are Mathematical Functions. Armstrong Number is a number that is equal to the sum of its raised to the power of the number of ... Read More

Haskell program to read numbers from standard input

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 06:06:02

1K+ Views

In this tutorial, we discuss writing a program to get input from the user in the Haskell programming language. Haskell is a Declarative, Strongly Typed, and Functional programming language. This tutorial discusses reading numbers from standard input in the Haskell Programming language. Haskell is a purely functional Language. Pure functions are ... Read More

Haskell program to get input from the user

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 06:02:32

3K+ Views

In this tutorial, we discuss writing a program to get input from the user in the Haskell programming language. Haskell is a Declarative, Strongly Typed, and Functional programming language. Computations in Haskell are mathematical functions. In this tutorial, we discuss two ways to get input from the user in Haskell. ... Read More

Haskell program to add two complex numbers

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 05:59:49

544 Views

This tutorial will discuss writing a program to add two complex numbers in the Haskell Programming Language. Haskell is a declarative, strongly typed, and functional programming language. The computations in Haskell are mathematical functions. Complex numbers are a combination of real and imaginary values. Example: 1 + 2i, where i ... Read More

Haskell program to display alphabets (A-Z) using a loop

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 05:54:09

440 Views

This tutorial will discuss writing a program to display characters from A-Z in Haskell programming Language. Haskell is a Functional, Declarative, and Strongly Typed Language. The computations in Haskell are mathematical functions. In this tutorial, We see two ways to display Alphabets in Haskell. An iterative Program to display ... Read More

Haskell program to find the gcd of two numbers

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 05:52:39

1K+ Views

This tutorial will discuss writing a program to find the LCM of two numbers in the Haskell Programming Language. Haskell is a functional programming language. The GCD of two numbers is the Greatest Common Divisor/ Number that divides both numbers Can also be called as Highest Common Factor. In this ... Read More

Haskell program to find lcm of two numbers

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 05:40:05

340 Views

This tutorial will discuss writing a program to find the LCM of two numbers in the Haskell Programming Language. Haskell is a functional programming language. LCM of two numbers is the least common multiple for that two numbers i.e smallest number that is divided by both numbers. In this tutorial, ... Read More

Haskell program to add binary strings

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 05:36:16

305 Views

This tutorial will discuss writing a program to add binary Strings in Haskell Programming Language. The computations in Haskell are Mathematical functions. Binary Strings represent a number in binary form but with String data type. Example: 5 is described as “0101”. Algorithmic steps Take Binary Strings as input. Implement ... Read More

Haskell program to display all prime numbers from 1 to n

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 05:32:09

1K+ Views

This tutorial will discuss writing a program to display all prime numbers from 1 to N in Haskell Programming Language. Haskell is a declarative, strongly typed, and functional language. The computations in Haskell are mathematical functions. A prime number is one that must have two positive factors 1 and the ... Read More

Haskell Program to Check whether the input number is a Neon Number

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 27-Oct-2022 05:30:03

245 Views

This tutorial will discuss writing a program to check whether the input number is a Neon Number in Haskell Programming Language. The computations in Haskell are mathematical functions. A neon Number is a number that satisfies the property: number is equal to the sum of the digits of its square. ... Read More

Advertisements