Corewar documentation 1.0.0
Loading...
Searching...
No Matches
my_isneg.c File Reference

The file containing the my_isneg function. More...

#include "my.h"

Functions

void my_isneg (int n)
 Prints 'P' if the number (n) is positive or 'N' if the number (n) is negative.
 

Detailed Description

The file containing the my_isneg function.

Author
Nicolas TORO

Function Documentation

◆ my_isneg()

void my_isneg ( int nb)

Prints 'P' if the number (n) is positive or 'N' if the number (n) is negative.

Parameters
nbThe number to check
Returns
void
Author
Nicolas TORO