New course! Every coder should learn Generative AI!
Try a free lesson0
Why this code cannot run?
Is there something wrong? https://code.sololearn.com/crvSIsX35dKq/?ref=app
2 Answers
+ 30
You forgot to assign a value to the "word" variable.
+ 1
use cstdio, cstdlib & ctime instead of stdio.h, stdlib.h & time.h; it will work