Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
r-vb authored Aug 3, 2022
1 parent b01ca27 commit d111554
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sinx_library.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include<stdio.h>
#include<math.h>
int main()
{
float x,t,sinx;
printf("Enter the value of x: ");
scanf("%f",&x);
t = x;
x = x*(3.14/180);
sinx = sin(x);
printf("Sin(%f) = %f",t,sinx);
return 0;
}

0 comments on commit d111554

Please sign in to comment.