CUExample  1.0
calc.h File Reference

Header file for calc module. More...

#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

int add (int a, int b)
 Adding two values. More...
 
int sub (int a, int b)
 Subtracting two values. More...
 
int mul (int a, int b)
 Multiplying two values. More...
 

Detailed Description

Header file for calc module.

Function Documentation

◆ add()

int add ( int  a,
int  b 
)

Adding two values.

Parameters
aFirst value.
bSecond value.

◆ mul()

int mul ( int  a,
int  b 
)

Multiplying two values.

Parameters
aFirst value.
bSecond value.

◆ sub()

int sub ( int  a,
int  b 
)

Subtracting two values.

Parameters
aFirst value.
bSecond value.