Răspuns :

Pascal :

program p;

var n : integer;

begin

readln(n);

if odd(n) then writeln('impar') else writeln('par');

end.

C & C++ :

#include <iostream>

using namespace std;

int main(){

int n; cin >> n;

if(n%2==0) cout<<"par" << endl; else cout << "impar" << endl;

return 0;

}