mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-14 17:59:28 +08:00
24 lines
250 B
C
24 lines
250 B
C
|
#include <stdio.h>
|
||
|
|
||
|
#include "dll.h"
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
int i, j, k;
|
||
|
double dk;
|
||
|
|
||
|
i = 10;
|
||
|
j = 13;
|
||
|
|
||
|
k = Add(i, j);
|
||
|
|
||
|
printf ("%d + %d = %d\n", i, j, k);
|
||
|
|
||
|
dk = Sub(i, j);
|
||
|
|
||
|
printf ("%d - %d = %f\n", i, j, dk);
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|