Mr. Satyabrata has Published 355 Articles

How To Check Whether a Number is an Ugly Number or Not in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 17-Nov-2022 11:46:33

1K+ Views

A number is said to be an ugly number, if the prime factors of that input number only include 2, 3 and 5. Maybe some number has some prime factors which have only one factor or two factors but those factors must be one of 2, 3, and 5. In ... Read More

How To Check Whether a Number is a Strong Number or Not in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 17-Nov-2022 11:43:09

20K+ Views

A number is said to be a Strong number, if the sum of factorials of the input number’s every digit is equal to the same input number. For more clarification, we have to find the factorial of every digit of the given number. After that we have to calculate the ... Read More

How To Check Whether a Number is a Spy Number or Not in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 17-Nov-2022 11:35:11

2K+ Views

A number is said to be a Spy number, if the sum of the digits of the given number is equal to the product of the digits of the given number. For more clarification, we have to first calculate the sum of the digits of the given number. After that ... Read More

How To Check Whether a Number is a Special Number or Not in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 17-Nov-2022 11:31:24

6K+ Views

A number is said to be a Special number, if the sum of factorials of the input number’s every digit is equal to the same input number. For more clarification, we have to find all the factors of every digit of the given number. After that we have to calculate ... Read More

How to Calculate Area of Enneagon in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 17-Nov-2022 10:58:33

182 Views

An enneagon refers to a polygon with 9 sides with 9 internal angles. Where all the sides of the polygon are equal it is called a regular enneagon which has an internal angle of 140 degrees, and the sum of all internal angles are 1260 degrees. An enneagon is also ... Read More

Advertisements