Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles on Trending Technologies
Technical articles with clear explanations and examples
Haskell program to find lcm of two numbers
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, we discuss five different ways to implement a program to find the LCM of two numbers. Using inbuilt function lcm. Computing LCM using list comprehension. Computing LCM using a recursive function. Computing LCM using the HCF (Highest Common Factor) function. Algorithm steps Take the two integers as ...
Read MoreHaskell program to add binary strings
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 the logic for adding binary Strings Print the resultant Binary String. Program to add Binary Strings We break the program into simpler functions Syntax Importing essential Packages/Modules import Data.Char Data.Char is a useful module for having functions to type cast Character to Integer and Integer to ...
Read MoreHaskell program to display all prime numbers from 1 to n
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 number itself. Example 2, 3, 5, 7, .. Note 1 is not a prime number because it has only one factor. Algorithm steps Implementing a function to check whether a number is prime. Implementing a function to generate all prime in a range. Display the prime numbers. Program to ...
Read MoreHaskell Program to Check whether the input number is a Neon Number
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. Example: 9 is a neon number because the sum of the digits of its square “81” (8+1) is equal to the number 9. In this Tutorial, we will discuss Program to check whether the number is a Neon number. Program to print neon numbers in a range in an ...
Read MoreIs Blockchain comparable to ‘the internet’?
In recent years, there has been a lot of discussion and conjecture about the Internet's future. The proliferation of social media and the emergence of virtual worlds and immersive experiences have contributed to the Internet's ubiquity as a medium for communication and business. In addition, the growth of Blockchain signals a significant change coming to the Internet. However, the Internet has seen other changes before. The Internet has undergone two essential evolutions since it first became widely used, and a third is soon to follow. These changes have affected the entire world, altering how people live, work, and use the ...
Read MoreHow to pay with Cryptocurrencies?
Bitcoin, Ethereum, and other cryptocurrencies were first designed to make anonymous online transactions. The media and the financial industry, preoccupied with price fluctuations, tend to overlook this factor. Knowing how to pay with bitcoin is more crucial than knowing the price, given the currency's rising popularity and widespread use. In the past, transmitting bitcoin required entering code onto a computer's command line. In the past, transferring and receiving cryptocurrency was a complicated procedure. Still, now it's as easy as using a banking app. The specifics of how you begin the payment depend on the program you use, but generally, this ...
Read MoreHow to invest in crypto without buying crypto?
Here we'll talk about how we can invest in crypto without buying crypto. We will also talk about the benefits of doing so. There are 5 ways to buy Crypto without buying crypto Bitcoin futures ETFs In the present age, every one of the financial backers is searching for a simple method for purchasing crypto, a trade exchange store that claims bitcoin (very much like the ETFs that hold gold and silver) appears to be an optimal arrangement. Be that as it may, the Protections and Trade Commission has so far declined to allow this sort of item, ...
Read MoreHow to find new crypto coins?
Introduction Cryptocurrency is the most happening field in the world of digitalisation. It can be classified into coins and tokens based on their respective features used for various purchases, transactions and exchanges on the centralised and decentralised platforms. There are more than 21, 000 types of coins and tokens in the market currently in demand. You can trade them and can also invest in them. All of them are important but hold different values in the market. It requires updating and knowledge to learn which coin is performing better. It is an evolving field and allows users to explore new ...
Read MoreCDs VS Crypto
Introduction If you have money to invest, you have several options at your disposal. There are many high-risk, high-reward investment options. Some are somewhat safe, but you won't make very much money. Certificates of deposit and cryptocurrencies represent the two ends of this continuum (CDs). Although investing in cryptocurrencies has a very high risk, they might pay out handsomely if you're lucky. Contrarily, CDs are among the safest investments since they guarantee a certain return on your money. The downside of this return is that it will be lower than most other investment kinds. CDs and cryptocurrencies may make excellent ...
Read MoreCan you really make money with cryptocurrencies?
Introduction Cryptocurrency is one of the most emerging fields in the digital world. As a result, many people consider it an excellent opportunity to establish their career. It is not a wrong thing to think of, though, looking at the rising graph it has in the current times. Besides just being used for carrying out various kinds of digital transactions and exchanges, cryptocurrency can be used to earn money. Many people do this as their part-time job, and many have made it a full-time profession. If you are thinking of making money while working with cryptocurrency, there are specific ways ...
Read More