Skip to content

udhyamsingh/Basic-Java-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Java Programs This repository contains a collection of basic Java programs demonstrating fundamental programming concepts. The examples include simple arithmetic operations and other basic functionalities to help beginners understand Java programming.

Features Basic Arithmetic Operations: Addition Subtraction Multiplication Division Other Basic Programs: Finding the maximum of two numbers Calculating the factorial of a number Checking if a number is prime Generating Fibonacci series Technologies Used Java 8 or higher

Prerequisites Java Development Kit (JDK) 8 or higher

Usage Explore the Examples: Navigate to the src directory to view various Java programs. Run Specific Programs: Compile and execute specific Java files as needed. Examples Addition: Addition.java – A program that adds two numbers. Subtraction: Subtraction.java – A program that subtracts one number from another. Multiplication: Multiplication.java – A program that multiplies two numbers. Division: Division.java – A program that divides one number by another. Maximum of Two Numbers: MaxOfTwoNumbers.java – A program to find the maximum of two numbers. Factorial Calculation: Factorial.java – A program to calculate the factorial of a number. Prime Number Check: PrimeCheck.java – A program to check if a number is prime. Fibonacci Series: FibonacciSeries.java – A program to generate Fibonacci series up to a specified number.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages