diff --git a/Find_Number.java b/Find_Number.java index 6c85e7d..3a88f69 100644 --- a/Find_Number.java +++ b/Find_Number.java @@ -1,5 +1,3 @@ -package Games; - import java.util.*; public class Find_Number { diff --git a/README.md b/README.md index 65c0ed5..dbb06ec 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ -# Java_Mini_Projects -This repo includes some Java basics programs. +# Java_Mini_Projects [![](https://img.shields.io/badge/Language-Java-brown?logo=java&style=for-the-badge)](https://en.wikipedia.org/wiki/Java_(programming_language)) + + +### ***This repo includes some Java basics programs.*** + +#### 1. _Fabonnaci Series_ +#### 2. _Find Number Game_ +#### 3. _Temperature Converter_ +#### 4. _Tip Calculator_ + + +### *TOOLS and LANGUAGES* +[Intellij](https://www.jetbrains.com/idea)     +[Eclipse](https://www.eclipse.org/) [JAVA](https://www.java.com/en/) +
+ +[![](https://img.shields.io/badge/GitHub-InvisiblePro-blue?logo=github&style=for-the-badge)](https://github.com/InvisiblePro) diff --git a/Tip_Calculater.java b/Tip_Calculater.java new file mode 100644 index 0000000..b4e606c --- /dev/null +++ b/Tip_Calculater.java @@ -0,0 +1,14 @@ +import java.util.Scanner; +public class Tip_Calculater { + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + System.out.println("\n\tWelcome to Tip Calculator!!"); + System.out.println("\nEnter total amount of the bill.. :");int bill = scan.nextInt(); + System.out.println("How much tip would you like to give? ");int tip = scan.nextInt(); + System.out.println("How many people to split the bill? ");int person = scan.nextInt(); + int total = bill + tip; + int per_person = total/person; + System.out.println("Total bill is : ₹"+total); + System.out.println("Each should give : ₹"+per_person); + } +}