+ 2
Ok i am getting a very weird and poesibly wrong output for the following pattern,can you guys help pls,
pattern:. A BAB CBABC DCBABCD https://code.sololearn.com/cZNC8KOHGsnP/?ref=app
3 Respostas
+ 1
Abhay, the b = a; should be after scanf("%c", &a);
+ 1
And dont forget to put newline after scanf
0
thks brother!:-)