Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
B_141202_CONTADORPALABRAS
//Title of this code #include <stdio.h> #include <string.h> #include <ctype.h> #define _T 1000 int main(void) { char texto[_T]; short i; short contador; gets(texto); for(contador = 0 , i = 0 ; texto[i] ; i++) { if(isalnum(texto[i]) && !isalnum(texto[i + 1])) { contador++; } } printf("Cadena ... #%s#", texto); printf("\n\n\nPALABRAS: %hd\n\n\n", contador); return 0; }
run
|
edit
|
history
|
help
0
X=2
test
linear hybrid cellular automaton utilizing rules 90 and 150 with period of (2^64)-1 for generating high quality random bits is reversible
Assignment 4
p20
Intro to Arrays with comments
CO Assignment 1 Question 1
Lab 9 v0.95
otro avance de pregunta 2
Midterm practice 2