|
| Total Answers and Comments: 8 |
Last Update: June 13, 2007 Asked by: vijay |
|
| | |
|
Submitted by: vijay
main() { int i=3,temp=0,d,c=0; for(;i<=3333;++i) { temp=i; while(temp!=0) { d=temp%10; if(d==3) c++; temp=temp/10; } } printf("%d",c); }
ans: 1336 times
Above answer was rated as good by the following members: shiv.bhaker | Go To Top
|