tomadas-bis.tex 294 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
\documentclass{article}
\begin{document}
\begin{verbatim}
#include <stdio.h>

int main (void)
{
int T1, T2, T3, T4;
int notebooks;

scanf("%i %i %i %i", &T1, &T2, &T3, &T4);

notebooks = T1 + T2 + T4 + T4 - 3;

printf("%i\n", notebooks);

return 0;
}

\end{verbatim}
\end{document}