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
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Swift program to convert double type variable to string
This tutorial will discuss how to write swift program to convert double type variable to int. Swift support various datatypes and double and string are one of them. String is an ordered collection of characters. For example: “TutorialsPoint”, “Pinky”, etc. To create a string type variable, we use String keyword. Whereas Double is used to represent 64-bit floating point numbers. For example, 34.55656, 9.8283, etc. To create a double type variable, we use Double keyword. To convert double type variable into string we uses String() function. This function convert any data type into string. Syntax Following is the syntax − ...
Read MoreSwift program to create a class and object
This tutorial will discuss how to write swift program to create a class and object. Swift language is also an object oriented language. So it fully support class and objects. Class A class is a blueprint for the objects. To add the functionality to the class we can define properties and methods. Here, the constants and variables present inside the class are known as the class property whereas a function present inside a class is known as a method. Just like other programming language, Swift classes also support inheritance, type casting, deinitializers, reference, etc. Syntax Following is the syntax to ...
Read MoreSwift program to convert double type variables to int
This tutorial will discuss how to write swift program to convert double type variable to int. Swift support various datatypes and double and integers are one of them. Double is used to represent 64-bit floating point numbers. For example, 34.55656, 9.8283, etc. To create a double type variable we use Double keyword. Whereas Integer represent numeric values like 2, 3, 45, 6, etc. And to create integer type variable we use Int keyword. To convert double type variable into int we uses Int() function. This function convert any data type into integer. Syntax Following is the syntax − Int(variableName) ...
Read MoreSwift Program to convert int type variable to string
This tutorial will discuss how to write swift program to convert int type variable to string. Swift support various datatypes and string and integers are one of them. String is an ordered collection of characters. For example: “TutorialsPoint”, “Pinky”, etc. To create a string-type variable we use String keyword. Whereas Integers represent numeric values like 2, 3, 45, 6, etc. And to create integer-type variables we use the Int keyword. To convert int type variable into string we uses String() function. This function convert any data type into string. Syntax Following is the syntax − String(variableName) Below is a ...
Read MoreSwift Program to Print Hollow Right Triangle Star Pattern
This tutorial will discuss how to write swift program to print hollow right triangle star pattern. Star pattern is a sequence of “*” which is used to develop different patterns or shapes like pyramid, rectangle, cross, etc. These star patterns are generally used to understand or practice the program flow controls, also they are good for logical thinking. To create a hollow right triangle star pattern we can use any of the following methods Using nested for loop Using stride Function Below is a demonstration of the same − Input Suppose our given input is − Num = ...
Read MoreSwift Program To Print X Star Pattern
This tutorial will discuss how to write swift program to print X star pattern.Star pattern is a sequence of “*” which is used to develop different patterns or shapes like pyramid, rectangle, cross, etc. These star patterns are generally used to understand or practice the program flow controls, also they are good for logical thinking. To create a X star pattern we can use any of the following methods Using nested for loop Using stride Function Below is a demonstration of the same − Input Suppose our given input is − Num = 5 Output The desired ...
Read MoreHow can Blockchain help Emerging Economies?
You could use Blockchain as a base to build financial services that fill gaps in the online market. Blockchain connects a network of entities and lets them share information. So, traditional databases only store data for one party at a time. Blockchain is a type of technology called a "decentralized ledger." Bitcoin was one of the first and most well-known ways of blockchain technology. However, most experts agree that blockchain technology has a lot of potential for other uses. Blockchain: A Novel Technology for Emerging Economies In 2017, the price of Bitcoin and Ethereum went up and down. It helped ...
Read MoreHow Blockchain changed the way money works?
What do you think the effects of Bitcoin technology will be? Don Tapscott, the CEO of the Tapscott Group, says that blockchains, the technology behind cryptocurrencies, could change the world economy. Tapscott talks with McKinsey's Rik Kirkland about the possible benefits of blockchains for working together and keeping track of transactions. Blockchains are a type of open-source, distributed database that uses cutting-edge cryptography. Every day, our global financial system deals with trillions of dollars, which helps billions of people worldwide. But the system has some flaws that lead to higher costs because of fees and delays, more trouble for everyone ...
Read MoreWhat are Straits, NEO, NXT, and EOS Blockchains?
Introduction Blockchain is a shared and immutable ledger technology that allows for recording transactions in a corporate network and the acquisition of digital assets. While providing transparency and data verification, blockchain technology is less resistant to fraud and cyber threats than previous record−keeping methods. It also lets you track orders, finances, production, and payments. Because of the numerous uses of this technology, corporations and financial institutions are always on the lookout for blockchain experts. About Stratis, NEO, NXT, and EOS Stratis Stratis is a dynamic and adaptable blockchain Development Platform created by Chris Strew (CEO of Stratis) to assist corporations ...
Read MoreIs Blockchain the future? Or is it just a fad?
Introduction Blockchain is one of the most important things that has helped establish the digital industry. Things are carried out easier and better with the help of blockchains. They are a complete revolution that has drastically changed the world of transactions, payments, and cryptocurrency. Providing many benefits, they are within reach of common people. They can easily use it for their purposes, making it more popular. Blockchains are a secure network that links many computers together to transmit information safely and faster. What is a Blockchain? Blockchain refers to the digital system that helps record all customer transactions and exchanges. ...
Read More