Java

[Solved] Math Olympiad with Java

The KISA Math Olympiad is held annually across all the Schools to identify and encourage the mathematical creativity of children of all grades. Samuel is a little genius in math of Grade 5 who was participating in the contest. The…

[Solved] Art Competition with Java

[Solved] Art Competition with Java

Ocean Awareness Art Competition is a yearly art competition that engages students to promote the need to preserve, protect, and restore the world’s oceans and aquatic resources.  The Contest was organized at an outdoor auditorium in the City and large…

[Solved] Reverse the digits with Java

[Solved] Reverse the digits with Java

Reverse the digits: Asha’s birthday is shortly coming and her parents have planned to arrange for a house party. Deepa was Asha’s best friend and was expecting her birthday since a month. This is because Deepa’s Dad has promised her…

[Solved] GCD of 2 Numbers with Java

[Solved] GCD of 2 Numbers with Java

Write a program to compute GCD of 2 numbers using recursion. Input and Output Format: Input consists of 2 integers. Refer sample input and output for formatting specifications. All text in bold corresponds to input and the rest corresponds to…

[Solved] Recursion Factorial with Java

[Solved] Recursion Factorial with Java

Recursion Factorial: Clinton and Collin tries to play a game on words. If a word is given to them, they need to find as much words as possible using the characters in the given word. While playing, they taught to find…

[Solved] Number of digits with Java

[Solved] Number of digits with Java

Write a program to find the number of digits in a number using recursion. Input and Output Format: Input consists of a nonnegative integer. Refer sample input and output for formatting specifications. All text in bold corresponds to input and…

[Solved] Sum of digits with Java

[Solved] Sum of digits with Java

Write a program to find the sum of digits in a number using recursion. Input and Output Format: Input consists of a nonnegative integer. Refer sample input and output for formatting specifications. All text in bold corresponds to input and…

[Solved] Compute a^n Compute Power with Java

[Solved] Compute a^n with Java

Compute Power: Write a program to compute a^n (a power n) using recursion.  Input and Output Format: Input consists of 2 integers.Refer sample input and output for formatting specifications.All text in bold corresponds to input and the rest corresponds to…