1. Congrats for using CODE tags. However, the purpose of using CODE tags is to retain whitespace and the purpose of whitespace is to make the code easier to follow. Your whitespace is pretty bad - nothing lines up.
2. Some will tell you your main should be
int main (void), not
void main ()
3. You test for number == 0 twice. Why?