Professional Documents
Culture Documents
Jones Programming Cat 2
Jones Programming Cat 2
JONES ANYONA
SCT-253-023/2022
UNIT CODE:2123
(a)Outline four rules one should adhere to when naming identifiers
1. An identifier name is case sensitive such that home and home is recognized as two separate
identifiers.
2. An identifier cannot be same as a C keyword.
3. The first character of an identifier must be either an alphabet or underscore.
4. Any special characters other than alphabets, digits, and underscore (such as: blank space, /
are not allowed).
(f) Using a while loop, write a program that computes the factorial of number 9
#include <stdio.h>
return 0;
}