Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <unistd.h>
- int main()
- {
- int run = 1;
- char z = 'z';
- while (run < 27)
- {
- if (run % 2 == 0)
- {
- z = z - 32;
- write(1, &z, 1);
- z = z + 32;
- z--;
- run++;
- }
- else
- {
- write(1, &z, 1);
- z--;
- run++;
- }
- }
- write(1, "\n", 1);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment