sivan_iut

Untitled

Feb 19th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3. int main()
  4. {
  5.     double a,b;
  6.     scanf("%lf%lf",&a,&b);
  7.     double p,q,r;
  8.     p=pow(a,b);
  9.     q=pow(b,a);
  10.     r=p-q;
  11.     printf("%.0lf",r);
  12.     return 0;
  13.  
  14. }
Add Comment
Please, Sign In to add comment