Guest User

Untitled

a guest
May 16th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. extern double _ln (double a, double b); /* deklaracja funkcji zewnętrznej */
  4. double ln (double a, double b); /* prototyp funkcji */
  5. double z=13.23, e=0.69314718; //"z" wstawione na pale
  6. // e to wartosc ln2
  7. int main()
  8. {
  9. printf("Wpisz wartosc szukanego logarytmu naturalnego: \nln ");
  10. scanf("%d",z);
  11. printf(" = %d",ln(z,e));
  12. return 0;
  13. }
Add Comment
Please, Sign In to add comment