HAIDER ALI

    0

    0

    HAIDER ALI

    #include<iostream>
    
    #include<iostream>
    using namespace std;
    int main() {
      int arr[11] = { 3, 5, 27, 5, 10, 12, 5, 153, 3 ,90, 89 }, i;
      for (i = 0; i <=10; i++) {
      if(arr[i]!=arr[0]&&arr[i]!=arr[10])
      cout << arr[(i-1)] << "  " << arr[i] << "  " << "  " << arr[(i + 1)] << endl;
      
      }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.