This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/cabs.c

10 lines
127 B
C

#include <stdio.h>
#include <math.h>
struct _complex c = { -3.0, 4.0 };
void main()
{
printf( "%f\n", cabs( c ) );
}