Untitled
unknown
plain_text
2 years ago
367 B
11
Indexable
#include <stdio.h>
int main()
{
int n,first,m,count=1,pow;
scanf("%d",&n);
first=n;
while (first>=10)
{
first=first/10;
}
if (n%10==0 && first==1)
{
pow=n/10;
printf("Yes,%d\n",pow);
}
else
{
printf("No\n");
}
return 0;
}
Editor is loading...