https://github.com/tanzeelafatima492/c-programming-basic
https://github.com/tanzeelafatima492/c-programming-basic
cplus cpp cxx programming robert
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tanzeelafatima492/c-programming-basic
- Owner: TanzeelaFatima492
- License: mit
- Created: 2024-12-17T10:20:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-09T08:30:47.000Z (10 months ago)
- Last Synced: 2025-08-09T13:12:07.740Z (5 months ago)
- Topics: cplus, cpp, cxx, programming, robert
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```sh
g++ program.cpp -o program
```
2. Run the compiled program:
```sh
./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.