Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- int main()
- {
- float x, p;
- int n;
- printf("vvedite x & p \n");
- scanf("%f", &x);
- scanf("%f", &p);
- n = p * log10(x) + 1;
- printf("%d", n);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement