#include <stdio.h> int main(void) { int a[] = {1,2,3,4,5,6}; int k = 5; for (int i=0;i<6;i++) if (a[i]!=k) printf("Khong tim thay tai %d",i); return 0;}
Standard input is empty
Khong tim thay tai 0Khong tim thay tai 1Khong tim thay tai 2Khong tim thay tai 3Khong tim thay tai 5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!