Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Numero de veces digito
//Title of this code //gcc 4.9.1 #include <stdio.h> int main(void) { short a, d, i, j=0, B; a = 442; d= 1; for(i=0; a>=10; i++){ B=a%10; a=a/10; if(B==d){ j++; } } if (a==d){ j= j+1; } printf("%hd",j); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
PointTeleBook
Class Friday 1/20 Inauguration Day
Lab 9 v0.6
C_141113_euclides
gcc compiler bug.. weird.
static int account
a.out
NETFLIX TERMINADO
array practice
18BCE2182 MIDTERM QUES-2
Please log in to post a comment.