A repository of practical C programs demonstrating mathematical logic and unit conversion algorithms.
A feature-rich calculator that handles basic arithmetic and scientific operations.
- Features: Addition, Subtraction, Multiplication, Division.
- Scientific Mode: Sine, Cosine, Tangent, Natural Log (ln), and Log10.
- Logic: Uses the
math.hlibrary and ado-whileloop for repeated calculations.
A precise tool to convert between different units of time.
- Supported Units: Hours, Minutes, and Seconds.
- Logic: Implements conversion factors (60.0 and 3600.0) using
if-elsebranching to ensure accurate mathematical results.
Each file is independent. To run the calculator:
gcc Normal_Calculator.c -o calculator -lm
./calculator