Mr. Satyabrata has Published 355 Articles

Find count of positive and negative array elements in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 12:37:04

8K+ Views

In Java, Array is a non-primitive data type which stores values of similar data type. As per the problem statement we have to find count of positive numbers, negative numbers and zero present in the given array. Any number which is greater than zero that is called as positive number, ... Read More

Find Angle while Angle by similar Chord at center in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 12:33:22

142 Views

A circle is a round shape two-dimensional diagram that has no corners. Every circle has an origin point and every point on the circle maintains an equal distance from the origin. The distance between the origin and a point in a circle is known as the Radius of the circle. ... Read More

Find Duplicate Elements and its Frequency in an Array in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 12:28:38

21K+ Views

In Java, Array is a non-primitive data type which stores values of similar data type. As per the problem statement we have to detect the elements which are repeating in an array and print its frequency. An array can contain duplicate values as well. So, the number of times an ... Read More

Find Angle at Circumference from Angle at Centre by a Chord in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 12:24:23

107 Views

A circle is a round shape two-dimensional diagram which has no corners. Every circle has an origin point and every point on the circle maintains equal distance from the origin. The distance between the origin and a point in a circle is known as Radius of the circle. And similarly, ... Read More

Find Angle at Centre from Angle at Circumference by an Arc in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 12:10:40

220 Views

A circle is a round shape two-dimensional diagram which has no corners. Every circle has an origin point and every point on the circle maintains equal distance from the origin. The distance between the origin and a point in a circle is known as Radius of the circle. And similarly, ... Read More

Capitalize last letter and Lowercase first letter of a word in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:56:58

7K+ Views

String is a sequence of character values. In Java, Strings are considered as objects. We have a String class provided by Java for creating and manipulating strings. We have to convert the first letter of the word to lowercase and last letter of the word to uppercase. In this article ... Read More

Find if sum of odd or even array elements are smaller in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:51:05

1K+ Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. As per the problem statement we have to find the sum of elements which is even and sum of elements which is odd in an array and compare their sum and ... Read More

Check Average of Odd Elements or Even Elements are Greater in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:45:21

641 Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. As per the problem statement we have to find the sum of all even and odd numbers in a given array and compare them to see which one is greater. Note ... Read More

Check if Array is Free From 0 and Negative Number in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:39:58

2K+ Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. As per the problem statement we have to check and confirm the array is free from 0 and negative numbers. Let us say that an array contains 0 or a negative ... Read More

Arrange Negative Array Elements Before Positive Elements in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 05-Jan-2023 11:33:51

1K+ Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. As per the problem statement we have to arrange all elements of array such that negative elements are present before positive elements. If a number is greater than 0 then ... Read More

Advertisements