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