0
Why is here no output?
It looks so right,so I'm quite confused. https://code.sololearn.com/cfBt0UZioal0/?ref=app
4 ответов
+ 3
Maybe the way that you input the datas is wrong. I input "5d" and the answer is OK. If you want to line feed when you input datas , you can add a blank between %d and %c.
+ 2
Write
printf("%d %c,& with, &c) ;
I. e provide a space when you write%c after%d (or any other format specifier)
Otherwise lexical analyzer scan whole line into one token , and
It don't take character input into account.
0
INSIST. You are right. Thanks very much.^_________^
0
Vanarch It seemed like that you misunderstood me. But thank you anyway.