[ create a new paste ] login | about

Link: http://codepad.org/HCA8Djzo    [ raw code | output | fork ]

C, pasted on Apr 15:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
main()
{

int sel[10], i, j, k;

//função para indicar se um número é par
int eh_par(int n) {

if( (n%2) == 0 )
return 1;

else
return 0;

}


Output:
1
2
In function 'main':
Line 16: error: expected declaration or statement at end of input


Create a new paste based on this one


Comments: