Calculator Documentation 1.1
A simple calculator program with basic operations.
 
Loading...
Searching...
No Matches
calculator.h File Reference

Go to the source code of this file.

Functions

int add (int a, int b)
 Adds two numbers.
 
int subtract (int a, int b)
 Subtracts two numbers.
 

Function Documentation

◆ add()

int add ( int a,
int b )

Adds two numbers.

Parameters
aThe first operand.
bThe second operand.
Returns
The sum of a and b.

◆ subtract()

int subtract ( int a,
int b )

Subtracts two numbers.

Parameters
aThe first operand.
bThe second operand.
Returns
The result of subtracting b from a.