Advertisement
Guest User

problem

a guest
Jan 16th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. float a,b,s;
  5. scanf("%f%f",&a,&b);
  6. s=(b-a)/a;
  7. printf("%.2f%%\n",s*100);
  8.  
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement