
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10744 Articles

AmitDiwan
921 Views
In this article, we will understand how to count the vowels and consonants in Kotlin. Alphabets that include the following are called Vowels − ‘a’ ‘e’ ‘i’ ‘o’ ‘u’ All other alphabets are called Consonants. Suppose our input is − Hello, my name is Charlie The desired output ... Read More

AmitDiwan
742 Views
In this article, we will understand how to calculate the sum of natural numbers in Kotlin. All possible positive numbers from 1 to infinity are called natural numbers. Below is a demonstration of the same − Suppose our input is 1 and 100 The desired output would be − ... Read More

AmitDiwan
842 Views
In this article, we will understand how to calculate the roots of a quadratic equation in Kotlin. A quadratic equation is an algebraic expression of the second degree or in other words, it has two results i.e., real number and an imaginary number. Below is a demonstration of the same ... Read More

AmitDiwan
1K+ Views
In this article, we will understand how to find the largest of three integers in Kotlin. This is done using a greater than operator (= input2 && input1 >= input3) println("The first value i.e $input1 is the largest number.") else if (input2 >= input1 && input2 >= ... Read More

AmitDiwan
671 Views
In this article, we will understand how to compute the quotient and reminder in Kotlin. Quotient and Reminder is calculated using two simple formulae − “Quotient = Dividend / Divisor” “Remainder = Dividend % Divisor” Below is a demonstration of the same Suppose our input is − Dividend value: ... Read More

AmitDiwan
1K+ Views
In this article, we will understand how to print ascii values of characters. This is done by assigning the character to an integer value and printing those integer values. Below is a demonstration of the same Suppose our input is − Enter a character: s The desired output would ... Read More

AmitDiwan
278 Views
In this article, we will understand how to compute the surface area and volume the cuboid. The surface area of cuboid is calculated using the formula − 2*( length *width + width* height + height*length) The Volume of the cuboid is calculated using the formula length*width*height Below is ... Read More

AmitDiwan
1K+ Views
In this article, we will understand how find the area of a circle. Area of a circle is calculated by using the formula − (pie*radius*radius)/7 Below is a demonstration of the same Suppose our input is Radius of the circle: 5 The desired output would be − The ... Read More

AmitDiwan
549 Views
In this article, we will understand how to find the perimeter of a rectangle. The Perimeter of a rectangle is calculated using the following formulae 2*(length + width) Below is a demonstration of the same − Suppose our input is The length of the sides of a rectangle are: ... Read More

AmitDiwan
563 Views
In this article, we will understand how to calculate the Compound interest. The percentage interest charged on principal and accrued interest is Compound Interest. Rates are higher compared to Simple Interest. Compound Interest is calculated using the formula principle * (Math.pow((1 + rate / 100), time)) – principle Below ... Read More