Skip to content

Latest commit

 

History

History

0x04-more_functions_nested_loops

0x04. C - More functions, more 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 function that checks for uppercase character.
  • Write a function that checks for a digit (0 through 9).
  • Write a function that multiplies two integers.
  • Write a function that prints the numbers, from 0 to 9, followed by a new line.
  • Write a function that prints the numbers, from 0 to 9, followed by a new line.
  • Write a function that prints 10 times the numbers, from 0 to 14, followed by a new line.
  • Write a function that draws a straight line in the terminal.
  • Write a function that draws a diagonal line on the terminal.
  • Write a function that prints a square, followed by a new line.
  • The “Fizz-Buzz test” is an interview question designed to help filter out the 99.5% of programming job candidates who can’t seem to program their way out of a wet paper bag.
  • Write a function that prints a triangle, followed by a new line.
  • The prime factors of 1231952 are 2, 2, 2, 2, 37 and 2081.
  • Write a function that prints an integer.

Author