Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- void function(int);
- int main()
- {
- int x = 0;
- printf("x: %d\n",x);
- //scanf("%d", &x);
- function(x);
- return 0;
- }
- void function(int x)
- {
- float fx;
- fx=10/x;
- printf("f(x) is: %.5f",fx);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement