Mine
public cpp v1 · immutable#include<iostream>int main(){ bool check; int a [ 5 ] ; cout << " nhap du`m 5 con so di cha, " ; for ( int i = 0; i < 5; i ++ ) { cout << " so thu "<< i + 1 << " is: " ; cin >> a[i] ; } for ( int k = 0 ; k < 5; k++ ) { check = false; for ( int j = k+1 ; j < 5; j++ ) { if ( a[j] == a[k]) { check = true; break; } } if ( check == false ) cout << a[k] << "_"; } cin >> check;}