fork download
  1. #include<iostream>
  2. using namespace std;
  3. int main (){
  4. int a [5]{1,2,3,4,5,};
  5. cout<<"the number are;
  6. for (const int &n: number;{
  7. cin >>" n " ;
  8. )
  9. cout<<endl;
  10. cout<<"first elements is <<:" number is [0];
  11. return o ;
  12. }
Success #stdin #stdout 0.02s 25536KB
stdin
Standard input is empty
stdout
#include<iostream> 
using namespace std;
int main (){
int a [5]{1,2,3,4,5,};
cout<<"the number are;
for (const int &n: number;{
cin >>" n "  ;
)
cout<<endl;
cout<<"first elements is <<:" number is [0];
return o ;
}