Skip to content

TanzeelaFatima492/C-programming-basic

Repository files navigation

Project Overview

This project consists of multiple C++ programs that perform different calculations and conversions, including:

  1. Gallons to Cubic Feet Converter - Converts a given number of gallons to cubic feet.
  2. Table Display - Displays a predefined table using a single cout statement.
  3. Integer Operations - Demonstrates the use of integer constants, arithmetic assignment operators, and decrement operators.
  4. Poem Display - Prints a favorite poem with appropriate line breaks.
  5. Currency Converter - Converts a given amount in US dollars to British pounds, French francs, German deutschemarks, and Japanese yen.
  6. Temperature Converter - Converts Celsius to Fahrenheit.
  7. Fraction Addition - Accepts two fractions and displays their sum in fractional form.
  8. Old British Currency Converter - Converts pounds, shillings, and pence to decimal pounds.

How to Run

  1. Compile the program using a C++ compiler:
    g++ program.cpp -o program
  2. Run the compiled program:
    ./program

Dependencies

  • A C++ compiler such as GCC or Clang.

Author

Tanzeela Fatima

License

This project is open-source and available for modification and distribution.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages