C++
#include<iostream>
using namespace std;
int main(){
int a, b, c;
if(a%2==0&&b%2==0&&c%2==1)||(a%2==1&&b%2==0&&c%2==0)||(a%2==0&&b%2==1&&c%2==0) cout<<"DA";
else cout<<"NU";
return 0;
}
PSEUDOCOD
citeste a, b, c
daca a%2=0 si b%2=0 si c%2=1 sau a%2=1 si b%2=0 si c%2=0 sau a%2=0 si b%2=1 si c%2=0 atunci
scrie "DA"
altfel
scrie "NU"