+ 2

Here i have problem in pleaaaaase help arrey

int n, m; cout « "please enter 2 numbers=" « n « m; cin »n » m; int a[n][m];

29th Dec 2017, 1:28 PM
zahra
zahra - avatar
4 Answers
+ 3
int n, m; cout <<"please enter 2 numbers="<< n<< m; cin>>n>> m; int a[n][m]; you have misspell the insertion sign
29th Dec 2017, 1:37 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 2
why are you outputting n and m before they are read in?
29th Dec 2017, 1:30 PM
romangraef
+ 1
because in cout have eror
29th Dec 2017, 1:31 PM
zahra
zahra - avatar
+ 1
here in int a [n][m]; n ,m have eror expression must have a constant value
29th Dec 2017, 1:43 PM
zahra
zahra - avatar