This project consists of multiple C++ programs that perform different calculations and conversions, including:
- Gallons to Cubic Feet Converter - Converts a given number of gallons to cubic feet.
- Table Display - Displays a predefined table using a single
cout
statement. - Integer Operations - Demonstrates the use of integer constants, arithmetic assignment operators, and decrement operators.
- Poem Display - Prints a favorite poem with appropriate line breaks.
- Currency Converter - Converts a given amount in US dollars to British pounds, French francs, German deutschemarks, and Japanese yen.
- Temperature Converter - Converts Celsius to Fahrenheit.
- Fraction Addition - Accepts two fractions and displays their sum in fractional form.
- Old British Currency Converter - Converts pounds, shillings, and pence to decimal pounds.
- Compile the program using a C++ compiler:
g++ program.cpp -o program
- Run the compiled program:
./program
- A C++ compiler such as GCC or Clang.
Tanzeela Fatima
This project is open-source and available for modification and distribution.