Code error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Code error

find my error.. it give compilation error https://code.sololearn.com/cUcNVD13l7sZ/?ref=app

2nd Feb 2019, 3:09 PM
Vidyalakshmi.S
Vidyalakshmi.S - avatar
10 Answers
+ 2
use cin >> n instead of cin >> "n"
2nd Feb 2019, 3:13 PM
Random
Random - avatar
0
thank u.. again I can't print correct pattern
2nd Feb 2019, 3:39 PM
Vidyalakshmi.S
Vidyalakshmi.S - avatar
0
What pattern do you want to print?
2nd Feb 2019, 3:47 PM
Random
Random - avatar
0
reverse right angle triangle
2nd Feb 2019, 3:49 PM
Vidyalakshmi.S
Vidyalakshmi.S - avatar
0
https://code.sololearn.com/c7ecCZxUl7J2/?ref=app
2nd Feb 2019, 4:05 PM
Random
Random - avatar
0
thank you ankit... in ur pgm.. i, j means row, column.. then k for?
2nd Feb 2019, 4:38 PM
Vidyalakshmi.S
Vidyalakshmi.S - avatar
0
i is for row j,k both are for columns one is printing spaces and the other one *
2nd Feb 2019, 4:44 PM
Random
Random - avatar
0
thank u so much yah
2nd Feb 2019, 5:22 PM
Vidyalakshmi.S
Vidyalakshmi.S - avatar
0
yw
2nd Feb 2019, 5:32 PM
Random
Random - avatar