This project was done in colaboration with Aikomi as part of our process in Holberton.
The _printf function produces output according for the format then writes to standard output stream. The arguments must correspond with the conversion specifiers, and they are used in the given order. The conversion specifiers, Characters preceded by the character % that specifie the type of convertion to be applied. The specifiers and their meanings are: %c: Prints a single character. %s: Prints a string of characters. %d: Prints integers. %i: Prints integers.
All the files are to be compiled on Ubuntu 14.04 LTS Compile your code with
gcc -Wall -Werror -Wextra -pedantic *.c
_printf("%(c, s, d, i)", num)
include "holberton.h"
int main(void) { int i = 20; int h = 10;
_printf("The numbers are %i:%i", i, h); return (0); }
Oscar Steven Gomez LinkedIn and Aikomi
