a small mini project to do multiple operation
Create a Project called Miniproject Create a Package namely MainPack Put a Main class file called MainClass.java Create 3 Packages namely ArithPack, RelatePack, FuncPack within MainPack page
Content of MainClass.java Get a chioce of Three operations namely Arithmetic , Relational and Functional operations using while loop and switch case // Main menu
- Arithmatic opeations
- Relational operations
- Functional opeations
- Exit (Exiting Main menu)
Package Name : MainPack Module Name : MainClass.java
Package Name : ArithPack Module Name : ArithClass.java
Package Name : FuncPack Module Name : FuncClass .java
Package Name : RelatePack Module Name : RelateClass.java
// Sub main menu1 In case of choice 1 Get two numbers and perform the anyone of the following operations by selecting anyone of the options using while loop and switch case below using switch case
- Addition
- Subtraction
- Multiplication
- Division
- Modular Division
- Exit (exiting submenu 1)
// Sub main menu 2 In case of choice 2 Get two numbers and perform the anyone of the following operations by selecting anyone of the options using while loop and switch below
- CheckGreater
- CheckSmaller
- CheckEqual
- Exit( exiting submenu 2)
// Sub main menu 3 In case of choice 3 Get a numbers and perform the anyone of the following operations by selecting anyone of the options using while loop and switch below
- Factorial
- SumUptoN
- EvenOrOdd
- Exit (exiting submenu 3)