Skip to content

Latest commit

 

History

History

0x02-functions_nested_loops

0x02. C - Functions, nested loops

Description

What you should learn from this project:

  • What are nested loops and how to use them
  • What is a function and how do you use functions
  • What is the difference between a declaration and a definition of a function
  • What is a prototype
  • Scope of variables
  • What are the gcc flags -Wall -Werror -pedantic -Wextra
  • What are header files and how to to use them with #include

  • Write a program that prints Holberton, followed by a new line.
  • Write a function that prints the alphabet, in lowercase, followed by a new line.
  • Write a function that prints 10 times the alphabet, in lowercase, followed by a new line.
  • Write a function that checks for lowercase character.
  • Write a function that checks for alphabetic character.
  • Write a function that prints the sign of a number.
  • Write a function that computes the absolute value of an integer.
  • Write a function that prints the last digit of a number.
  • Write a function that prints every minute of the day of Jack Bauer, starting from 00:00 to 23:59.
  • Write a function that prints the 9 times table, starting with 0.
  • Write a function that adds two integers and returns the result.
  • Write a function that prints all natural numbers from n to 98, followed by a new line.

Author