Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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 Respostas
+ 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()