initial import
[staff/goc4/2018bti7061.git] / c-3-libraries / examples / c-functions / useLibrary.c
1 #include <stdio.h>
2 #include "myFirstLibrary.h"
3
4 main(){
5 long i;
6 puts("Please type a number:");
7 scanf(" %ld",&i);
8 long logi = logarithm(i);
9 long factoriali = factorial(logi);
10 printf("log(%ld)=%ld and %ld! = %ld\n",i,logi,logi,factoriali);
11
12
13 }