Potti Chandra Sekhar sai has Published 40 Articles

Haskell Program to Generate Multiplication Table

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:40:57

229 Views

In this tutorial, we discuss writing a program to generate a multiplication table in the Haskell programming language. ExampleMultiplication table of 12 up to 10 is 12 * 1 = 12 12 * 2 = 24 12 * 3 = 36 12 * 4 = 48 12 * 5 = ... Read More

Haskell Program to Sort Elements in Lexicographical Order (Dictionary Order)

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:36:35

409 Views

In this tutorial, we discuss writing a program to sort elements in lexicographical order in the Haskell programming language. Haskell is a Declarative, Strongly Typed, and Functional programming language. The computations in Haskell are mathematical functions. The lexicographical order is a dictionary order or in the order of the ASCII ... Read More

Haskell program to print ascii values

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:35:38

530 Views

In this tutorial, we discuss writing a program to print ASCII values in the Haskell programming language. Haskell is a Declarative, Strongly Typed, and Functional programming language. The computations in Haskell are mathematical functions. ASCII stands for American Standard Code for Information Interchange, used in electronic data transfer and communication. ... Read More

Haskell program to find the largest among three numbers

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:32:55

652 Views

In this tutorial, we discuss writing a program to find the largest among the three numbers Haskell programming language We are going to learn three different ways to implement programs to find the largest among three numbers in Haskell. Program to find the largest among three numbers using if-else. ... Read More

Haskell program to find all roots of a quadratic equation

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:29:06

624 Views

In this tutorial, we discuss writing a program to find the largest among the three numbers Haskell programming language. A quadratic equation is a second-degree algebraic equation. Example − a quadratic equation is of the form ax^2 + bx + c, where a, b, and c are constants and x ... Read More

Haskell Program to Count the Number of Vowels and Consonants in a Sentence

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:27:42

475 Views

In this tutorial, we discuss writing a program to count the number of vowels and consonants in a Sentence in the Haskell programming language. Haskell is a Declarative, Strongly Typed, and Functional programming language. The computations in Haskell are mathematical functions. Vowels are the open sound-producing letters in English literature. ... Read More

Haskell program to compute quotient and remainder

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:26:36

500 Views

In this tutorial, we discuss writing a program to compute the quotient and remainder in Haskell programming language. Quotient and remainder are the quantities obtained as a result of dividing two quantities. Example − quotient and remainder for the division of 31/5 are 6, 1 respectively. The number can be ... Read More

Haskell Program to Check if two of the three Boolean variables are true

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:24:13

222 Views

In this tutorial, we discuss writing a program to check if two of three Boolean variables are true in the Haskell programming language Boolean variables are the type of variable which hold the boolean value true and false. In this tutorial, we see two different ways to implement a program ... Read More

Haskell program to calculate the sum of natural numbers

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:22:43

718 Views

In this tutorial, we discuss writing a program to calculate the sum of the natural numbers in the Haskell programming language. Natural numbers are positive integers starting from 1, 2, 3...N In this tutorial, we see different ways to implement a program to compute the sum of natural numbers. ... Read More

Haskell Program to Calculate simple interest and compound interest

Potti Chandra Sekhar sai

Potti Chandra Sekhar sai

Updated on 24-Nov-2022 06:21:17

273 Views

In this tutorial, we discuss writing a program to calculate simple and compound interest in the Haskell programming language In this tutorial, we see Program to compute Simple interest. Program to compute Compound interest. Simple interest is an Interest method for an investment, where interest is defined as ... Read More

Advertisements