Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- long long int n,a;
- while(scanf("%lld",&n)!=EOF)
- {
- if(n==0)
- break;
- if(n<=100)
- {
- printf("f91(%lld) = 91\n",n);
- }
- else if(n>=101)
- {
- a=n-10;
- printf("f91(%lld) = %lld\n",n,a);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment