Global Namespace

Classes

Function Reference: Calculator

class Calculator

CALCULATOR A simple calculator class

This class demonstrates basic arithmetic operations.

Method Summary

Functions

Function Reference: hello

hello(name)

HELLO Say hello to someone

Parameters:

name (char) – The name of the person to greet

Returns:

A greeting message

Return type:

char

Function Reference: times_two

times_two(x)

times_two Multiply a number by two

Parameters:

x – The input value

Returns:

The input value multiplied by two

Function Reference: times_two_napoleon

times_two_napoleon(x)

times_two Multiply a number by two

Parameters:

x – The input value

Returns:

The input value multiplied by two