fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main () {
  5. int e[5] = {10, 20, 30, 40, 50};
  6. for (int i = 0; i < 5; i++) if (e[i] >= 0 && e[i] < 100) cout << e[i];
  7. }
  8.  
  9. //https://pt.stackoverflow.com/q/336968/101
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
1020304050