0
Why is the code not working?
#include <iostream> using namespace std; main () { int number[15] ; int elmenumb =0 ; for (int i =0 ;i < 15 ; i++)  {  elmenumb = 1 + i ;  cout <<"input" << elmenumb<< "Element:" ;  cin >> number[i];  }  for(int i = 0; i <15 ; i++)  cout << number [i ] << " "; }
3 Answers
+ 2
What is your problem with the code?
edit: Ř´ŮŮ Ů
ŮŮ
do you got this code from any net source?
it has invalid characters at empty places.
remove those or rewrite entire code.
0
Yes, it is from an external source, but I do not know the solution. I hope someone can help me solve this issue
0
As I already told, solution is only rewrite code or remove those invalid invisible characters and add spaces back on need. Try it and see. and use int main(), not just main()