projects
- intro (due 20140124)
- "Hello, World!" (due 20140131)
- data types (due 20140207)
- Squares (due 20140214)
- Day of Week (due 20140221)
- Nikhilam (due 20140228)
- Multiply by 11 (due 20140307)
- Vertically and Crosswise (due 20140321)
projects
#include <stdio.h> #include <stdlib.h> int main() { char *initials, i = 0; name = (char *) malloc (sizeof(char) * 4); fprintf(stdout, "Enter a 3 character set of initials and hit ENTER: "); *(initials+i) = fgetc(stdin); i = i + 1; *(initials+i) = fgetc(stdin); i = i + 1; *(initials+i) = fgetc(stdin); i = i + 1; *(initials+i) = fgetc(stdin); fprintf(stdout, "You entered %s\n", initials); return(0); }