c

C program to check if a character is a vowel or consonant

C program to check if a character is a vowel or consonant. The program will take a character as input from the user and print out if it is a vowel or consonant.

Read
typescript

Switch-case statement in typescript with examples

switch-case statement is used to run a block of code based on the result of an expression. This program will show you how to use switch-case in typescript.

Read
typescript

What is union type in typescript and how to use

union type in typescript is used to define a variable that can hold multiple types of values. In this post we will learn how to use union type with examples.

Read
reactjs

What are Components in Reactjs and how to use these components

Learn what are components in reactjs. Components are reusable pieces in React.js. In this post, we will learn about functional and class components with examples.

Read
dart

Constants defined in dart-math library

Dart math library provides a couple of mathematical constants and functions. In this post, we will check the constants of dart math library with example.

Read
c#

Different ways in C# to find the factorial of a number

C# program to find the factorial a number in different ways. We will learn by using a for loop, using a while loop, using a different function and recursively.

Read
javascript

Binary search implementation in JavaScript

Learn how binary search works and how to implement it in JavaScript. Learn to implement it in both recursive and iterative ways in JavaScript.

Read
swift

How to convert a string to float and double in Swift

Swift program to convert a string to float and double. We can use floatValue, Float constructor, doubleValue or Double constructor to convert a string to float or double in swift.

Read
swift

How to return multiple values from a function in Swift

Swift program to return multiple values from a function. We can return multiple normal values or multiple optional values from a function.

Read
swift

How to insert characters to a string in Swift

Swift program to insert characters to a string. This post will show you how to insert single or multiple characters to a swift string.

Read