Everybody to help me take a look at what is the problem? Thank you all!
# include "stdio.h"//such as: 36 people move 36 brick, a man can move 4 bricks at a time, a woman can move 3 bricks at a time, two children can move 1 brick at a time, require a move out, q: need to men, women, children's?
# include "stdlib. H"
Int main ()
{
Int nanren, nvren xiaohaibanzhuanshu;
While (nanren * 4 + 3 + xiaohaibanzhuanshu nvren *!=36 & amp; & Nvren nanren + + xiaohaibanzhuanshu * 2!=36)
{
Nanren=rand () % 100 + 0;
Nvren=rand () % 100 + 0;
Xiaohaizhuan=rand () % 100 + 0;
}
Needs printf (" % d, a man woman % d a, need a child % d ", nanren, nvren, xiaohaizhuan * 2);
}