Skip to content

Latest commit

 

History

History

0x01-variables_if_else_while

[All the files will be compiled on Ubuntu 20.04 LTSimage using gcc]

Project on 0x01. C - Variables, if, else, while

File 0-positive_or_negative.c: is a C program that will assign a random number to the variable n each time it is executed, using an if statement.

File 1-last_digit.c is a C program that will assign a random number to the variable n each time it is executed using another if statement.

File 2-print_alphabet.c is a C program that prints the alphabet in lowercase, followed by a new line.

File 3-print_alphabt.c is a C program that prints the alphabet in lowercase, except q and e, followed by a new line.

File 4-print_alphabets.c is a C program that prints the alphabet in lowercase, and then in uppercase, followed by a new line.

File 5-print_numbers.c is a C program that prints all single digit numbers of base 10 starting from 0, followed by a new line.

File 6-print_numberz.c is a C program that prints all single digit numbers of base 10 starting from 0, followed by a new line, using putchar.

File 7-print_tebahpla.c is a C program that prints the lowercase alphabet in reverse, followed by a new line.

File 8-print_base16.c is a C program that prints all the numbers of base 16 in lowercase, followed by a new line.

File 9-print_comb.c is a C program that prints all possible combinations of single-digit numbers.

File 10-print_comb2.c is a C program that prints the numbers from 00 to 99.

File 100-print_comb3.c is a program that prints all possible different combinations of two digits.

File 101-print_comb4.c is a program that prints all possible different combinations of three digits.

File 102-print_comb5.c is a program that prints all possible combinations of two two-digit numbers.