Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- extern double _ln (double a, double b); /* deklaracja funkcji zewnętrznej */
- double ln (double a, double b); /* prototyp funkcji */
- double z=13.23, e=0.69314718; //"z" wstawione na pale
- // e to wartosc ln2
- int main()
- {
- printf("Wpisz wartosc szukanego logarytmu naturalnego: \nln ");
- scanf("%d",z);
- printf(" = %d",ln(z,e));
- return 0;
- }
Add Comment
Please, Sign In to add comment