Hello World
Tuesday, 8 May 2012
UVa 10696 f91 Solution
#include<stdio.h>
int main()
{
int a,b;
while(scanf("%d",&a)==1 && a!=0)
{if(a>100)
b=a-10;
else
b=91;
printf("f91(%d) = %d\n",a,b);}
return 0;
}
1 comment:
Unknown
12:46 am, February 08, 2019
plz explain the test cases...
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
plz explain the test cases...
ReplyDelete