Problem multipleswith8
User emyz
Submission Time 2024-12-07 10:02:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

multipleswith8.cpp: In function ‘int main()’:
multipleswith8.cpp:6:2: error: expected initializer before ‘cin’
6 | cin>>m>>k;
| ^~~
multipleswith8.cpp:8:19: error: ‘k’ was not declared in this scope
8 | for (int i=0; i<=k; i=i+m)
| ^