0

Is my ’do’-loop wrong? It says ”Expected primary-expression before ’int’”

do(int x = 0;x>3;x++) { cin >>ans0; answer[x]=ans0; cout <<answer[x]; }

25th Jan 2022, 1:36 PM
N3stS
2 Antworten
25th Jan 2022, 1:55 PM
Ipang
+ 1
Forgot that you needed the ’while’ 😅
25th Jan 2022, 1:58 PM
N3stS