What you should learn from this project:
- What are the logical operators (sometimes called boolean operators) and how to use them
- What the the relational operators and how to use them
- How to declare variables of types char, int, unsigned int
- How to print the values of variables of type char, int, unsigned int with printf
- What is the ASCII character set
- What are the purpose of the gcc flags -m32 and -m64
- This program will assign a random number to the variable n each time it is executed. Complete the source code in order to print whether the number stored in the variable n is positive or negative.
- This program will assign a random number to the variable n each time it is executed. Complete the source code in order to print the last digit of the number stored in the variable n.
2. I sometimes suffer from insomnia. And when I can't fall asleep, I play what I call the alphabet game
- Write a program that prints the alphabet in lowercase, followed by a new line.
- Write a program that prints the alphabet in lowercase (except q and e), followed by a new line.
- Write a program that prints the alphabet in lowercase, and then in uppercase, followed by a new line.
- Write a program that prints all single digit numbers of base 10 starting from 0, followed by a new line.
- Write a program that prints all single digit numbers of base 10 starting from 0, followed by a new line.
- Write a program that prints the lowercase alphabet in reverse, followed by a new line.
- Write a program that prints all the numbers of base 16 in lowercase, followed by a new line.
- Write a program that prints all possible combinations of single-digit numbers.
- Write a program that prints the numbers from 00 to 99.
- Derrick Gee - kai-dg