This repository contains solutions to various Java programming problems, covering both basic programming concepts and recursive algorithms.
- File:
evenorodd.java - Description: Function to check if a given number is even or odd
- File:
squareOfNumber.java - Description: Function that takes a number and returns its square
- File:
sumofNaturalNumbers.java - Description: Function to calculate the sum of first N natural numbers
- File:
largestnumber.java - Description: Function to find the largest among three given numbers
- File:
findprime.java - Description: Function to check if a given number is prime
- File:
factorial.java - Description: Recursive function to calculate factorial of N
- File:
fibonacci.java - Description: Recursive function to generate Fibonacci series up to N terms
- File:
sumofdigits.java - Description: Recursive function to find the sum of digits of a number
- File:
recursionforpower.java - Description: Recursive function to calculate power (a^b)
- File:
reversestring.java - Description: Recursive function to reverse a string
- Language: Java
- Environment: Linux (Arch Linux)
- Development: Command-line compilation and execution