## How to generate first N Pentagonal numbers in Java?

Rohit Agarwal 1/31/2017
Problem Description : Write a program in Java that generates first N pentagonal numbers. First N Pentagonal numbers Concept...Read More
How to generate first N Pentagonal numbers in Java? Reviewed by Rohit Agarwal on 1/31/2017 Rating: 5

## How to generate first N Hexagonal numbers in Java?

Rohit Agarwal 1/30/2017
Problem Description : Write a program in Java that generates first N hexagonal numbers. First N Hexagonal numbers Concept : W...Read More
How to generate first N Hexagonal numbers in Java? Reviewed by Rohit Agarwal on 1/30/2017 Rating: 5

## How to generate first N triangular numbers in Java?

Rohit Agarwal 1/27/2017
Problem Description : Write a program in Java that generates first N triangular numbers. First N Triangular numbers Concept :...Read More
How to generate first N triangular numbers in Java? Reviewed by Rohit Agarwal on 1/27/2017 Rating: 5

## How to find day after N years in Java?

Rohit Agarwal 1/26/2017
Problem Description : Write a program in Java that finds a day after N years. For example - on  26 th Jan  2017  day is Thursday and ...Read More
How to find day after N years in Java? Reviewed by Rohit Agarwal on 1/26/2017 Rating: 5

## How to find day before N years in Java?

Rohit Agarwal 1/25/2017
Problem Description : Write a program in Java that finds a day before N years. For example - on 25 th Jan 2017 day is Wednesday and ...Read More
How to find day before N years in Java? Reviewed by Rohit Agarwal on 1/25/2017 Rating: 5

## How to find working and non-working days for given month and year in Java?

Rohit Agarwal 1/23/2017
Problem Description : Write a program in Java that finds working and non-working days for given month and year with proper validation...Read More
How to find working and non-working days for given month and year in Java? Reviewed by Rohit Agarwal on 1/23/2017 Rating: 5

## How to find number of days and weeks for given month in Java?

Rohit Agarwal 1/20/2017
Problem Description : Write a program in Java that displays number of days and weeks for given month with proper validations. Nu...Read More
How to find number of days and weeks for given month in Java? Reviewed by Rohit Agarwal on 1/20/2017 Rating: 5

## Project Euler | Problem 8 | Largest product in a series

Rohit Agarwal 1/19/2017
Problem Description : The four adjacent digits in the 1000 -digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. ...Read More
Project Euler | Problem 8 | Largest product in a series Reviewed by Rohit Agarwal on 1/19/2017 Rating: 5

## How to subtract two given times in HH:mm:ss format in Java?

Rohit Agarwal 1/17/2017
Problem Description : Write a program in Java that subtracts two times that are given in HH:mm:ss format with proper validations. Fo...Read More
How to subtract two given times in HH:mm:ss format in Java? Reviewed by Rohit Agarwal on 1/17/2017 Rating: 5

## How to subtract N working days from the current date in Java?

Rohit Agarwal 1/16/2017
Problem Description : Write a program in Java that subtracts N working days from the current date and prints new date with proper val...Read More
How to subtract N working days from the current date in Java? Reviewed by Rohit Agarwal on 1/16/2017 Rating: 5

## How to add two given times in HH:mm:ss format in Java?

Rohit Agarwal 1/15/2017
Problem Description : Write a program in Java that adds two times that are given in format HH:mm:ss with proper validations. For exa...Read More
How to add two given times in HH:mm:ss format in Java? Reviewed by Rohit Agarwal on 1/15/2017 Rating: 5

## Project Euler | Problem 7 | Find 10001st Prime number in Java?

Rohit Agarwal 1/13/2017
Problem Description : By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13 , we can see that the 6th prime is 13 .What is ...Read More
Project Euler | Problem 7 | Find 10001st Prime number in Java? Reviewed by Rohit Agarwal on 1/13/2017 Rating: 5

## Project Euler | Problem 6 | Sum square difference

Rohit Agarwal 1/11/2017
Problem Description : The sum of the squares of the first ten natural numbers is,  1^2 + 2^2 + ... + 10^2 = 385.  The square of the s...Read More
Project Euler | Problem 6 | Sum square difference Reviewed by Rohit Agarwal on 1/11/2017 Rating: 5

## How to add N working days to the current date in Java?

Rohit Agarwal 1/10/2017
Problem Description : Write a program in Java that adds N working days to the current date and prints new date. Add n working day...Read More
How to add N working days to the current date in Java? Reviewed by Rohit Agarwal on 1/10/2017 Rating: 5

## How to subtract years, months, weeks and days from given date in Java?

Rohit Agarwal 1/09/2017
Problem Description : Write a program in Java that subtracts years, months, weeks and days from given date. Subtraction of years...Read More
How to subtract years, months, weeks and days from given date in Java? Reviewed by Rohit Agarwal on 1/09/2017 Rating: 5

## How to add years, months, weeks and days in given date in Java?

Rohit Agarwal 1/06/2017
Problem Description : Write a program in Java that adds number of years, months, weeks and days in given date. Addition of years...Read More
How to add years, months, weeks and days in given date in Java? Reviewed by Rohit Agarwal on 1/06/2017 Rating: 5

## How to find all leap years between two given years in Java?

Rohit Agarwal 1/05/2017
Problem Description : Write a program in Java that prints all the leap years between two given years with proper validations. ...Read More
How to find all leap years between two given years in Java? Reviewed by Rohit Agarwal on 1/05/2017 Rating: 5

## How to count vowels and consonants in given string in Java?

Rohit Agarwal 1/04/2017
Problem Description : Write a program in Java that counts vowels and consonants present in String. Count vowels and consonants i...Read More
How to count vowels and consonants in given string in Java? Reviewed by Rohit Agarwal on 1/04/2017 Rating: 5