This is a simple unit converter program written in C. It allows users to convert temperature, currency, and mass units based on their input.
Forgot how to convert degree Fahrenheit to Celsius? Don’t worry. We have a solution for you. This unit converter converts basic units such as temperature, currency, and mass.
The Unit Converter program is designed to provide users with a convenient tool to convert between different units of measurement. It offers conversions for temperature (Fahrenheit to Celsius and vice versa), currency (USD to Euro, JPY, and RMB), and mass (ounces to pounds and grams to pounds).
To use the Unit Converter, follow these steps:
- Run the program.
- Choose the category you want to convert (Temperature, Currency, or Mass) by entering the corresponding letter.
- Follow the prompts to select the specific conversion type and provide the required input.
- View the converted result.
- Conversion of temperature between Fahrenheit and Celsius.
- Conversion of currency from USD to Euro, JPY, and RMB.
- Conversion of mass units from ounces to pounds and grams to pounds.
To run the Unit Converter program, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/TimsTittus/unit-converter.git
- Navigate to the directory containing the source code:
cd unit-converter
- Compile the program using a C compiler (e.g., GCC):
gcc unit_converter.c -o unit_converter
- Run the executable:
./unit_converter
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes.
- Commit your changes.
- Push to the branch.
- Create a new Pull Request.