Calculate simple interest 

 Calculate Simple Interest in Java Output In the above example, we have used the Scanner class to take principal, rate, and time as input from the user. We then use the formula of simple interest to compute the simple interest.

Convert Binary Number to Decimal Number

Binary numbers are numbers consisting only of 2 digits: 0 and 1. They can be expressed in the base 2 numeral system. For example, Decimal numbers are numbers consisting of 10 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. They can be expressed in the base 10 numeral system. Here, we will be writing a Java program that will convert a binary number into decimal and vice versa using built-in methods and custom… Continue reading Convert Binary Number to Decimal Number