Problem countalp
User Jordis00fed
Submission Time 2024-03-06 17:02:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

countalp.cpp: In function ‘int main()’:
countalp.cpp:7:11: error: ‘str’ was not declared in this scope; did you mean ‘std’?
7 | char (str[100]=n;)
| ^~~
| std
countalp.cpp:7:22: error: expected primary-expression before ‘)’ token
7 | char (str[100]=n;)
| ^
countalp.cpp:12:9: error: ‘i’ was not declared in this scope
12 | for(i = 0; str[i] != '\0'; i++)
| ^
countalp.cpp:18:9: error: ‘i’ was not declared in this scope
18 | for(i = 0; i < 256; i++)
| ^