Ankita Saini has Published 319 Articles

Swift Program to Convert a String to Uppercase

Ankita Saini

Ankita Saini

Updated on 20-Oct-2022 08:03:38

2K+ Views

This tutorial will discuss how to write swift program to convert a string to uppercase. A string is a sequence of characters for example, “RedCar”. Or we can say, string are used to represent textual data. Swift support a String data type which is used to create a String type ... Read More

Swift Program to Convert a String to Lowercase

Ankita Saini

Ankita Saini

Updated on 20-Oct-2022 08:02:29

2K+ Views

This tutorial will discuss how to write swift program to convert a string to lowercase. A string is a sequence of characters for example, “RedCar”. Or we can say, string are used to represent textual data. Swift support a String data type which is used to create a String type ... Read More

Swift Program to Get a Random Element from the Set

Ankita Saini

Ankita Saini

Updated on 20-Oct-2022 08:00:35

678 Views

This tutorial will discuss how to write swift program to get a random element from the Set. Set is a primary collection type in Swift. It is an unordered collection which stores unique values of same data type. You are not allowed to store different type of values in the ... Read More

Swift program to Get the Size of Set

Ankita Saini

Ankita Saini

Updated on 20-Oct-2022 07:57:34

243 Views

This tutorial will discuss how to write swift program to get the size of set. Set is a primary collection type in Swift. It is an unordered collection which stores unique values of same data type. You are not allowed to store different type of values in the same set. ... Read More

Swift Program to Find Minimum Set Element Using Library Function

Ankita Saini

Ankita Saini

Updated on 12-Oct-2022 07:45:33

734 Views

This tutorial will discuss how to write swift program to find minimum set element using library function. Set is a primary collection type in Swift. It is an unordered collection which stores unique values of same data type. You are not allowed to store different type of values in the ... Read More

Swift Program to find the hyperbolic arctangent of the given value

Ankita Saini

Ankita Saini

Updated on 07-Oct-2022 14:52:11

86 Views

This tutorial will discuss how to write a Swift program to find the hyperbolic arctangent of given radian value − atanh(a) = 1/2 * ln(1+a/1-a) In Swift, we can calculate the hyperbolic arctangent of the given radian value using the in-built atanh() function. This function returns the hyperbolic arctangent value ... Read More

Swift Program to find the tangent of given radian value

Ankita Saini

Ankita Saini

Updated on 26-Aug-2022 11:36:09

118 Views

This tutorial will discuss how to write a Swift program to find the tangent of given radian value. A tangent function is used to define the ratio of the length of the opposite side to the adjacent side in the right-angled triangle. It is also known as the tan function. ... Read More

Swift Program to find the area of the rectangle

Ankita Saini

Ankita Saini

Updated on 26-Aug-2022 11:17:53

519 Views

This tutorial will discuss how to write a Swift program to find the area of the rectangle. A rectangle is a quadrilateral or a closed two-dimensional shape with four sides. All the angles of a rectangle are equal (90 degrees) and the opposite sides are equal and parallel with each ... Read More

Swift Program to find the cosine of given radian value

Ankita Saini

Ankita Saini

Updated on 25-Aug-2022 09:02:20

273 Views

This tutorial will discuss how to write a Swift program to find the cosine of given radian value. A cosine function is used to define the ratio of the length of the adjacent side to the hypotenuse in the right-angled triangle. It is also known as the cos function. The ... Read More

Swift Program to find the sine of given radian value

Ankita Saini

Ankita Saini

Updated on 25-Aug-2022 09:01:04

538 Views

This tutorial will discuss how to write a Swift program to find the sine of given radian value. A sine function is used to define the ratio of the length of the opposite side to the hypotenuse in the right-angled triangle. It is also known as the sin function. The ... Read More

Advertisements