Skip to content

Commit

Permalink
Update sinx_library.c
Browse files Browse the repository at this point in the history
  • Loading branch information
r-vb authored Aug 3, 2022
1 parent d111554 commit 53038c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sinx_library.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* WHILE COMPILING MAKE SURE TO USE (-lm) -- example: cc [filename.c] -lm */

#include<stdio.h>
#include<math.h>
int main()
Expand All @@ -10,4 +12,4 @@ int main()
sinx = sin(x);
printf("Sin(%f) = %f",t,sinx);
return 0;
}
}

0 comments on commit 53038c0

Please sign in to comment.