if-else statement
if (condition) statement; else if (condition) statement; else statement;loops
- for loops
for (init, cond, next) statement;- while loops
while (cond) statement;- do-while loops
do { statement; } while (cond);Use of standard library functions
a) isdigit(c); /* equivalent to (c >= '0' && c <= '0') */ b) need to include ctype.h, how? c) new program hereDefine and call your own functions
i) my_isdigit(c) ii) my_isspace(c) iii) new program here