tarunsinghofficial / HacktoberFest

:octocat: Add your Programs or tech content to help other contributors ✅
383 stars 2.3k forks source link

Created Recipe-Ingredient-Unit-Convertor (Java) #2730 #2787

Open thatdamncoder opened 8 months ago

thatdamncoder commented 8 months ago

Recipe-Ingredient-Unit-Convertor

Java, OOP, HashMap

(created) fixes #2730

Description:

This pull request introduces a Recipe Ingredient Unit Converter tool implemented in Java. The tool is designed to convert various recipe ingredient quantities between different units, facilitating easy and accurate conversion for cooking enthusiasts. The code has been developed with a strong emphasis on OOP principles and utilises the HashMap data structure for efficient storage and retrieval of conversion data.

Enhancements and Features:

Usage Instructions:

  1. Upon execution, the program displays a list of available ingredients for conversion.
  2. Users can select an ingredient and specify the input quantity and unit to be converted.
  3. The program then processes the input data and generates the converted quantity based on the selected units.
  4. The final converted result is presented to the user, providing a seamless experience for recipe unit conversions.

Contributor's Note:

The code structure has been designed to be easily extensible, enabling the addition of more ingredients and units as required. Additionally, the tool maintains case sensitivity for inputs, ensuring accurate retrieval of conversion data.

Kindly review the code changes and provide any necessary feedback for further improvements and feature additions.