In this program we are using if..else statement to find out the largest of two numbers entered by user. Example: Program to find the largest… [Read More]
Archives for 2017
C++ Program to Swap Two Numbers using Third variable
Here we will see a program to swap two numbers using a temporary third variable. The steps are as follows: 1. User is asked to… [Read More]
C++ Program to Convert Lowercase to Uppercase
Here we will see two programs for lowercase to uppercase conversion. First program converts lowercase character to uppercase and the second program converts lowercase string… [Read More]
C++ Program to Convert Uppercase to Lowercase
Here we will see two programs for uppercase to lowercase conversion in C++. In the first program we will convert the input uppercase character into… [Read More]
C++ Program for Binary Search
This C++ program searches the entered number in the list of numbers using binary search algorithm and returns the location of the input number if… [Read More]
C++ Program to Add two Times entered by User
This program takes two times as input and displays the total time after adding both the entered times. Example: Program to add two times #include… [Read More]
C++ Program to Add Complex Numbers
This program takes two complex numbers (entered by user) as input and displays the sum of them. Example: Program to add two complex numbers entered… [Read More]
Kotlin Operators – Arithmetic, Assignment, Unary, Logical and More
Operators works on operands and used for calculation. For example, + is an operator and when I use it in a expression like this: a+b,… [Read More]
String Concatenation in Kotlin
String concatenation is joining two or more strings together. In this guide, we will see three ways to concatenate strings in Kotlin. 1. String templates… [Read More]
Kotlin Variables and Data Types
There are two types of variables – mutable and immutable. An immutable variable is one whose value cannot be changed, also known as unchangeable or… [Read More]
- 1
- 2
- 3
- …
- 25
- Next Page »