Blame view

slides/au02/tomadas-bis.tex 294 Bytes
b7da7243e   David Deharbe   initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  \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
  ", notebooks);
  
    return 0;
  }
  
  \end{verbatim}
  \end{document}